Jelmer Vernooij [Tue, 23 Sep 2003 21:15:41 +0000 (21:15 +0000)]
Regenerate
Gerald Carter [Tue, 23 Sep 2003 20:39:22 +0000 (20:39 +0000)]
update smbldap-tool sscripts from Jérôme Tournier
Gerald Carter [Tue, 23 Sep 2003 19:52:33 +0000 (19:52 +0000)]
sync debian package from rc4
John Terpstra [Tue, 23 Sep 2003 19:10:37 +0000 (19:10 +0000)]
I'm still working on this. More to come.
John Terpstra [Tue, 23 Sep 2003 19:02:57 +0000 (19:02 +0000)]
I'm still working on this. More to come.
Volker Lendecke [Tue, 23 Sep 2003 14:55:12 +0000 (14:55 +0000)]
Document the two new params.
Volker
Volker Lendecke [Tue, 23 Sep 2003 14:52:21 +0000 (14:52 +0000)]
This only touches the fake kaserver support. It adds two parameters:
afs share -- this is an AFS share, do AFS magic things
afs username map -- We need a way to specify the cell and possibly
weird username codings for several windows domains
in the afs cell
Volker
Volker Lendecke [Tue, 23 Sep 2003 14:49:17 +0000 (14:49 +0000)]
Add a descriptive comment to our usage of setresuid. lib/afs.c needs
to be changed if we decide to set our real uid. Jeremy?
Volker
Jeremy Allison [Mon, 22 Sep 2003 22:08:53 +0000 (22:08 +0000)]
Reformat - preparing to fix bug #480 (which will be ugly).
Jeremy.
Gerald Carter [Mon, 22 Sep 2003 17:53:59 +0000 (17:53 +0000)]
fix some warnings found by the Sun C compiler
Jeremy Allison [Mon, 22 Sep 2003 17:39:44 +0000 (17:39 +0000)]
Fix return of result. Patch from Yasuma Takeda <yasuma@miraclelinux.com>
Jeremy.
Gerald Carter [Mon, 22 Sep 2003 16:12:03 +0000 (16:12 +0000)]
solaris packagaing fixes from Brian King
Tim Potter [Mon, 22 Sep 2003 07:25:19 +0000 (07:25 +0000)]
Applied Monyo's patch for bug #412 which allows \n characters to
appear in msg strings.
Jelmer Vernooij [Sun, 21 Sep 2003 02:58:08 +0000 (02:58 +0000)]
Fix typo
Jelmer Vernooij [Sat, 20 Sep 2003 22:22:41 +0000 (22:22 +0000)]
Fix a bug and warn when configuration file values are incorrect. Thanks to
Wilco Baan Hofman <wilco@andoburg.nl>
Gerald Carter [Sat, 20 Sep 2003 16:45:24 +0000 (16:45 +0000)]
removing obselete parameter from smb.conf
Gerald Carter [Sat, 20 Sep 2003 15:28:24 +0000 (15:28 +0000)]
fix from Brad Langhorst to correctly check if the primaryGroupID has been set
Gerald Carter [Sat, 20 Sep 2003 15:20:31 +0000 (15:20 +0000)]
updates to SunOne DS schema from André Fiebach
Jeremy Allison [Fri, 19 Sep 2003 21:57:43 +0000 (21:57 +0000)]
Ensure that dup_sec_desc copies the 'type' field correctly. This caused
me to expose a type arguement to make_sec_desc(). We weren't copying
the SE_DESC_DACL_AUTO_INHERITED flag which could cause errors on
auto inherited checks.
Jeremy.
Gerald Carter [Fri, 19 Sep 2003 18:53:07 +0000 (18:53 +0000)]
insert missing sh-bang
Alexander Bokovoy [Fri, 19 Sep 2003 13:09:10 +0000 (13:09 +0000)]
Fix pdb_mysql. Jelmer will look into details tonight.
Tim Potter [Fri, 19 Sep 2003 07:04:29 +0000 (07:04 +0000)]
Put in some DEBUGs for swat language selection. Part of bug 456.
Tim Potter [Fri, 19 Sep 2003 01:54:57 +0000 (01:54 +0000)]
The -P option to smbclient no longer works - update all smbprint scripts to
remove it. Closes bug #473.
Jeremy Allison [Thu, 18 Sep 2003 23:53:48 +0000 (23:53 +0000)]
The "unknown_5" 32 bit field in the user structs is actually 2 16-bit
fields, bad_password_count and logon_count. Ensure this is stored/fetched
in the various SAMs. As it replaces the unknown_5 field this fits
exactly into the tdb SAM without any binary problems. It also is added
to the LDAP SAM as two extra attributes. It breaks compatibility with
the experimental SAMs xml and mysql. The maintainers of these SAMs must
fix them so upgrades like this can be done transparently. I will insist
on the "experimental" status until this is solved.
Jeremy.
Jeremy Allison [Thu, 18 Sep 2003 21:19:41 +0000 (21:19 +0000)]
Oops. Proper fix for #470.
Jeremy.
Jeremy Allison [Thu, 18 Sep 2003 01:17:22 +0000 (01:17 +0000)]
Fix for #470 - unable to display SIDs in ACLs.
Jeremy.
Tim Potter [Thu, 18 Sep 2003 00:05:19 +0000 (00:05 +0000)]
Change error message displayed when --without-libiconv is used as
an argument to configure. Closes bug 468.
Jeremy Allison [Wed, 17 Sep 2003 23:36:55 +0000 (23:36 +0000)]
Unregister event fix from metze.
Jeremy.
Jeremy Allison [Wed, 17 Sep 2003 19:36:38 +0000 (19:36 +0000)]
Fix coredump from Samba4 torture suite.
Jeremy.
Jeremy Allison [Wed, 17 Sep 2003 17:56:16 +0000 (17:56 +0000)]
Obviously correct typo bugfix from Lin Li <linl@xandros.com>.
Jeremy.
Alexander Bokovoy [Wed, 17 Sep 2003 17:54:49 +0000 (17:54 +0000)]
Fix warnings on Sun cc Workshop Compilers 5.0. Reported by "Richard Bollinger" <rabollinger@comcast.net>. Also fixed script/gaptab.awk to produce compatible tables.
Alexander Bokovoy [Wed, 17 Sep 2003 17:49:35 +0000 (17:49 +0000)]
Fix scripts to generate correct tables for compilers which have character constants as signed chars instead of unsigned
Alexander Bokovoy [Wed, 17 Sep 2003 10:15:47 +0000 (10:15 +0000)]
Update WHATSNEW.txt with information from release branch, SAMBA_3_0 talks only about RC3 while release branch explains RC3->RC4 differences
Gerald Carter [Tue, 16 Sep 2003 21:11:16 +0000 (21:11 +0000)]
packaging updates from Buchan
Jelmer Vernooij [Tue, 16 Sep 2003 13:31:41 +0000 (13:31 +0000)]
Fix typo. Found by Aurelien Degremont
John Terpstra [Tue, 16 Sep 2003 04:33:17 +0000 (04:33 +0000)]
Fix typo.
Tim Potter [Tue, 16 Sep 2003 03:54:42 +0000 (03:54 +0000)]
Applied Steve Langasek's patch for bug #450.
Jeremy Allison [Tue, 16 Sep 2003 01:27:46 +0000 (01:27 +0000)]
Fix #442 which Alexander considered a showstopper. Allow us to join mixed
mode domains.
Jeremy.
Jeremy Allison [Mon, 15 Sep 2003 21:27:36 +0000 (21:27 +0000)]
Fix from gregory@networksentry.co.za, don't clobber the comment if it
exists.
Jeremy.
Jeremy Allison [Mon, 15 Sep 2003 21:19:43 +0000 (21:19 +0000)]
Fix OOPS when dealing with mangled names reported by several users.
This was my bug when removing a redundant strlen.
Jerry - last showstopper I knew about.
Jeremy.
Jeremy Allison [Mon, 15 Sep 2003 18:53:01 +0000 (18:53 +0000)]
A *curse* upon the person who #ifdefed out the mangle debug statements
by default ! This is code that really needs to be able to be looked at
on a customer system if it's misbehaving !
Jeremy
Christopher R. Hertel [Mon, 15 Sep 2003 17:01:26 +0000 (17:01 +0000)]
Fixed test and wording for long share names.
The RAP NetShareEnum() call has a length limit of 12 characters (not 8, as
previously tested). Took DaveCB's suggested and added a note listing some
of the client systems that might be affected.
Simo Sorce [Mon, 15 Sep 2003 14:13:35 +0000 (14:13 +0000)]
fix online help
-w option need the password on the command line
Alexander Bokovoy [Mon, 15 Sep 2003 12:42:10 +0000 (12:42 +0000)]
Alias charset 646 internally as it is same as ASCII. Should solve Solaris problems where ASCII was not detected and 646.so were requested through dynamic loading
Tim Potter [Mon, 15 Sep 2003 12:22:34 +0000 (12:22 +0000)]
Fixed typo in debug.
Tim Potter [Mon, 15 Sep 2003 12:19:54 +0000 (12:19 +0000)]
Remove quotes in smb.conf ldap example - the quotes actually turn
up in the ldap filter string.
Tim Potter [Mon, 15 Sep 2003 05:20:00 +0000 (05:20 +0000)]
This ldap_value_free() looks like it was part of Jeremy's recent rampage
so I'm putting it back in.
Tim Potter [Mon, 15 Sep 2003 05:12:30 +0000 (05:12 +0000)]
I think this is a bugfix that somehow was dropped from the 3.0 tree.
Jeremy Allison [Mon, 15 Sep 2003 03:36:04 +0000 (03:36 +0000)]
Patch from Gregory Hinton Nietsky <gregory@networksentry.co.za>,
ensure the desired access is read from the incoming RPC request.
Jeremy.
Tim Potter [Mon, 15 Sep 2003 00:19:25 +0000 (00:19 +0000)]
For some reason testparm runs at debug level 2 which causes the module probe functions to
display verbose debugs. Increase the probe debugs to level 3.
Jeremy Allison [Sun, 14 Sep 2003 19:18:48 +0000 (19:18 +0000)]
Fix for typo in darwin detection.
Jeremy.
John Terpstra [Sun, 14 Sep 2003 00:13:04 +0000 (00:13 +0000)]
Fix typo.
Jeremy Allison [Sat, 13 Sep 2003 22:41:21 +0000 (22:41 +0000)]
Fix for MacOS/X which uses STUPID BROKEN UNICODE COMPOSE CHARACTERS !
(rant off :-). Inspired by work from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>.
Also add MacOSX/Darwin configure fixes.
Jerry - can we put this in 3.0 release ? :-).
Jeremy.
Jeremy Allison [Fri, 12 Sep 2003 21:41:18 +0000 (21:41 +0000)]
Fix from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>. Revered
condition meant fast-path in strchr_m was not being used. Doh !
Jeremy.
Jeremy Allison [Fri, 12 Sep 2003 01:25:35 +0000 (01:25 +0000)]
Fix from Craig Barratt <cbarratt@users.sourceforge.net> to fix restore
with filenames > 100 chars.
Jeremy.
Jim McDonough [Thu, 11 Sep 2003 18:32:44 +0000 (18:32 +0000)]
Updated 3.0 schema files for IBM Directory Server 5.1
Keeps with IBM convention of separate attributetype and objectclass definitions.
Gerald Carter [Thu, 11 Sep 2003 17:01:26 +0000 (17:01 +0000)]
fix unitiailized timestamp where merging print_jobs and lpq listing
Gerald Carter [Thu, 11 Sep 2003 16:52:10 +0000 (16:52 +0000)]
remove getpwnam() calls from init_sam_from_xxx().
This means that %u & %g will no longer expand, but %U
and %G still do. The payback is that winbindd local
accounts for users work with 'wbinfo -u' when winbind
is running on a PDC.
Tim Potter [Thu, 11 Sep 2003 01:57:08 +0000 (01:57 +0000)]
Fix error message when calling namedtogid() fails adding a group map
entry. Bug #431.
Jeremy Allison [Wed, 10 Sep 2003 23:49:23 +0000 (23:49 +0000)]
Ensure we consistantly translate to/from utf8 for talking to LDAP.
Jeremy.
Jeremy Allison [Wed, 10 Sep 2003 23:14:18 +0000 (23:14 +0000)]
Still on my mb rampage. Ensure smbldap_make_mod() correctly detects old
values.
Jeremy.
Jeremy Allison [Wed, 10 Sep 2003 22:33:06 +0000 (22:33 +0000)]
Fix a nasty mess, and also bug #296. passdb/pdb_ldap.c was not converting
to/from utf8 for some calls. The libads code gets this right. Wonder why
the passdb code doesn't use it ?
Jeremy.
Jeremy Allison [Wed, 10 Sep 2003 18:34:57 +0000 (18:34 +0000)]
Fix for bug #273 - smbd crash on machine account change.
Someone only half changed the code to use dc_name
instead of remote machine... Found via back trace from Dariush Forouher
<dariush@forouher.de>.
Jeremy.
Jeremy Allison [Wed, 10 Sep 2003 18:03:24 +0000 (18:03 +0000)]
Fix stupid typo bug causing CPU spin. Spotted by Markus Ungermann <ungermann@elzet80.de>
Jeremy.
Alexander Bokovoy [Wed, 10 Sep 2003 15:39:21 +0000 (15:39 +0000)]
Back out --with-good-getgrouplist patch
Alexander Bokovoy [Wed, 10 Sep 2003 13:39:09 +0000 (13:39 +0000)]
Now that CAN-2003-0689 is published officially, we need to make possible
to build on systems with fixed getgrouplist() in GNU libc < 2.3.2.
Unfortunately, we can't detect correctness of getgrouplist() functioning in
portable way so this is left up to developer/packager.
This patch adds --with-good-getgrouplist[=no] switch to configure which packagers
on Linux platforms could use to specify in their own builds if they now that glibc
on their platform is fixed w.r.t CAN-2003-0689. By default we still think that glibc
is vulnerable and perform our version check.
** This patch does not change default behaviour in Samba 3.0 -- by default we are not
vulnerable on glibc as we are not using getgrouplist()
See http://www.securityfocus.com/bid/8477 for vulnerability description.
Right now there are following Linux vendors released glibc updates for CAN-2003-0689:
RedHat -- https://rhn.redhat.com/errata/RHSA-2003-249.html
ALTLinux -- http://www.altlinux.com/index.php?module=sisyphus&package=glibc
Tim Potter [Wed, 10 Sep 2003 06:58:41 +0000 (06:58 +0000)]
Fix error return path memory leaks in vampire code for creating users.
Display an error if we can't create a posix account for the user
(e.g no add user/machine script was specified; bug #323).
Tim Potter [Wed, 10 Sep 2003 06:49:13 +0000 (06:49 +0000)]
Use opt_target_workgroup instead of lp_workgroup() in vampire code so
we can override the value in smb.conf with the -w option.
Migrating accounts from another domain can now be done like:
# bin/net join bdc -w nt4dom -Uadministrator%password
# bin/net rpc vampire -w nt4dom -U administrator%password
Tim Potter [Wed, 10 Sep 2003 06:15:07 +0000 (06:15 +0000)]
Formatting fixups for help output.
Tim Potter [Wed, 10 Sep 2003 03:59:07 +0000 (03:59 +0000)]
Remove tags file for distclean.
Jeremy Allison [Wed, 10 Sep 2003 02:21:24 +0000 (02:21 +0000)]
Fix mb bug in fast path code. strlen_w() returns number of *characters*
not number of bytes. Reproduce this by trying to rename the file named :
sibréseau -> sibréseaU
from Windows 2000 explorer.
Jeremy.
Gerald Carter [Wed, 10 Sep 2003 00:49:14 +0000 (00:49 +0000)]
fix some typos
Gerald Carter [Wed, 10 Sep 2003 00:45:52 +0000 (00:45 +0000)]
small updates to parameter section
Gerald Carter [Wed, 10 Sep 2003 00:40:32 +0000 (00:40 +0000)]
remove references to 'strip dot'
Gerald Carter [Tue, 9 Sep 2003 03:54:11 +0000 (03:54 +0000)]
syncing files
Gerald Carter [Tue, 9 Sep 2003 03:44:44 +0000 (03:44 +0000)]
removing unneeded files
Gerald Carter [Tue, 9 Sep 2003 02:02:33 +0000 (02:02 +0000)]
bumping new version to CVS 3.01pre1; optmistic about RC3
Jeremy Allison [Mon, 8 Sep 2003 21:33:18 +0000 (21:33 +0000)]
Don't double-increment p in hash calculation. Found by valgrind.
Jeremy.
Jeremy Allison [Mon, 8 Sep 2003 21:26:30 +0000 (21:26 +0000)]
Fix valgrind-found read of uninit variable (ensure length is right).
Jeremy.
Jeremy Allison [Mon, 8 Sep 2003 20:42:33 +0000 (20:42 +0000)]
Tidy up some formatting. Get ready for allowing bad password lockout. (based
on a patch posted from Richard Renard <rrenard@idealx.com>.
Jeremy.
Jeremy Allison [Mon, 8 Sep 2003 20:27:28 +0000 (20:27 +0000)]
Protect against core dump if ioctl for print job sends invalid fid. Found
by Iskantharajah T <is@tracetec.com.my>.
Jeremy.
John Terpstra [Mon, 8 Sep 2003 19:18:54 +0000 (19:18 +0000)]
Remove inaccurate notation.
Jeremy Allison [Mon, 8 Sep 2003 18:41:42 +0000 (18:41 +0000)]
Fix for incorrect error message - found by Alex Davis <alex14641@yahoo.com>.
Jeremy.
Eloy Paris [Mon, 8 Sep 2003 17:34:17 +0000 (17:34 +0000)]
Bumping up version number of the Debian packages.
Eloy Paris [Mon, 8 Sep 2003 17:30:14 +0000 (17:30 +0000)]
Whoops, fix type in comment.
Eloy Paris [Mon, 8 Sep 2003 17:28:55 +0000 (17:28 +0000)]
Fix problem with the python-samba Debian package.
Gerald Carter [Mon, 8 Sep 2003 15:59:45 +0000 (15:59 +0000)]
samba 3.0 schema filr netscape DS 5.x from Darren Chew
Gerald Carter [Mon, 8 Sep 2003 15:35:09 +0000 (15:35 +0000)]
copy from 3.0 release
Eloy Paris [Mon, 8 Sep 2003 15:27:50 +0000 (15:27 +0000)]
Ok, this should put packaging/Debian/ in sync. with rc3.
Gerald Carter [Mon, 8 Sep 2003 15:24:01 +0000 (15:24 +0000)]
make sure we substitute basic variables in read/write list
Gerald Carter [Mon, 8 Sep 2003 15:08:18 +0000 (15:08 +0000)]
copy WHATSNEW from the release branch
Eloy Paris [Mon, 8 Sep 2003 14:48:09 +0000 (14:48 +0000)]
Sync'ing packaging/Debian/ with the latest files from the official
Debian packages. This files are in sync. with the Debian packages for
3.0.0rc2.
Gerald Carter [Mon, 8 Sep 2003 14:00:51 +0000 (14:00 +0000)]
fix compile error on HP-UX 10.20
Gerald Carter [Mon, 8 Sep 2003 13:53:19 +0000 (13:53 +0000)]
fix valgrind errors; don't access cli_state pointer after it has been shutdown
Tim Potter [Mon, 8 Sep 2003 06:30:49 +0000 (06:30 +0000)]
Set PICFLAG="-fPIC" for gcc under HPUX.
Tim Potter [Mon, 8 Sep 2003 05:51:57 +0000 (05:51 +0000)]
Fix for bug #299.
There was some confusion over dynamically allocated lists of pointers
(i.e you have to make space for the list of pointers and what they are
pointing too) in the memory buffer passed in from libc.
Valgrind is much happer now and as a bonus there is no segfault.
Tim Potter [Mon, 8 Sep 2003 02:48:06 +0000 (02:48 +0000)]
Rename FOOLIBS to FOO_LIBS to be consistent with the rest of the
library variable names.
Tim Potter [Mon, 8 Sep 2003 02:13:38 +0000 (02:13 +0000)]
Fix for bug #334. We don't unmarshall the trusted domain or secrets
info delta correctly and thus crash when doing a net rpc samdump.
The easiest thing at the moment it to comment out these functions as
they seriously don't correspond with reality (netmon/ethereal) and the
data in the containers aren't used anyway.
Tim Potter [Mon, 8 Sep 2003 01:28:48 +0000 (01:28 +0000)]
Reformat debug.
Tim Potter [Mon, 8 Sep 2003 00:55:29 +0000 (00:55 +0000)]
When enumerating dfs shares loop from 0 to lp_numservices() instead of
relying on lp_servicename(n) to return an empty string for invalid
service numbers. For some reason it is returning NULL now.
Fixes bug 403.