kai/samba-autobuild/.git
16 years agor3877: Final (I hope :-) fix for #2050 from Lars Müller for select maxfd's.
Jeremy Allison [Fri, 19 Nov 2004 19:32:31 +0000 (19:32 +0000)]
r3877: Final (I hope :-) fix for #2050 from Lars Müller for select maxfd's.
Jeremy.
(This used to be commit 65fc39fc388244923d1e36076b5a4116aa434be5)

16 years agor3875: Allow to look up at least or own sid in _lsa_lookup_sids.
Günther Deschner [Fri, 19 Nov 2004 13:26:17 +0000 (13:26 +0000)]
r3875: Allow to look up at least or own sid in _lsa_lookup_sids.

This fixes Bugzilla #1076 and Exchange 5.5 SP4 can then be finally
installed on NT4 in a samba-controlled domain.

Guenther
(This used to be commit bb191c1098dea06bf2cd89276c74e32279fbb3d4)

16 years agor3873: The semantics of the parameter 'printcap name' are a bit tricky. I had seen
Volker Lendecke [Fri, 19 Nov 2004 12:11:13 +0000 (12:11 +0000)]
r3873: The semantics of the parameter 'printcap name' are a bit tricky. I had seen
the effect that I could not list printers with smbclient -L. I have cups
libraries but no running cups server, so remove_stale_printers() removed all
my printer definitions from the share list. So I said 'printing = bsd' but it
still would not work.

This happened because init_globals() would initialize Globals.szPrintcapname
to "cups", and the explicit 'printing = bsd' did not reset it. 'printing=bsd'
can't reset it, as this might overwrite an explicit setting. Thus I separated
the lp_printcapname into a function of its own, looking at
Globals.szPrintcapname and subsequently at sDefault.iPrinting.

Please revisit, there are just too many cases to cover.

Thanks,

Volker
(This used to be commit 3cdde7071b6bf83ad05046745ad2a5fa353995bf)

16 years agor3871: Fix memleak
Volker Lendecke [Fri, 19 Nov 2004 11:59:56 +0000 (11:59 +0000)]
r3871: Fix memleak
(This used to be commit dbfdde5f63f34fbe4ba1d794fcfc120178ff039a)

16 years agor3868: Fix reverted logic of detecting HAVE_WRFILE_KEYTAB (Bugzilla 2059)
Günther Deschner [Thu, 18 Nov 2004 23:25:37 +0000 (23:25 +0000)]
r3868: Fix reverted logic of detecting HAVE_WRFILE_KEYTAB (Bugzilla 2059)

Guenther
(This used to be commit 8d987d2f38005969798fe829f87c3ffc1d1e5edd)

16 years agor3867: Fix from david.hu@hp.com - make a copy of an incoming message
Jeremy Allison [Thu, 18 Nov 2004 22:46:04 +0000 (22:46 +0000)]
r3867: Fix from david.hu@hp.com - make a copy of an incoming message
rather than indirecting into it as a struct (may not be on an
even byte boundary). Bug #2052.
Jeremy.
(This used to be commit 8a91a69961622a31851f2394c591ddaa61a36000)

16 years agor3864: Fix from Lars Müller <lmuelle@suse.de> for bug #2050.
Jeremy Allison [Thu, 18 Nov 2004 22:11:20 +0000 (22:11 +0000)]
r3864: Fix from Lars Müller <lmuelle@suse.de> for bug #2050.
Make nmbd use maxfd+1 in select also.
Jeremy.
(This used to be commit e3ca22b80dc1c22f0e5c829d11724c79e317641f)

16 years agor3862: Fix from Lars Müller <lmuelle@suse.de>, check for HAVE_WRFILE_KEYTAB
Jeremy Allison [Thu, 18 Nov 2004 21:22:24 +0000 (21:22 +0000)]
r3862: Fix from Lars Müller <lmuelle@suse.de>, check for HAVE_WRFILE_KEYTAB
was inverted.
Jeremy.
(This used to be commit 6a9799806874619c471548b8ff0b3dc36788f81a)

16 years agor3859: Ensure if num_acls is set to 0xFFFF this field is ignored.
Jeremy Allison [Thu, 18 Nov 2004 19:36:50 +0000 (19:36 +0000)]
r3859: Ensure if num_acls is set to 0xFFFF this field is ignored.
Use def_acl everywhere instead of dir_acl.
Jeremy.
(This used to be commit d28611c960f87830aa8449725951984aa155b089)

16 years agor3857: Shut up gcc about erroneous "used uninitialised" warning.
Jeremy Allison [Thu, 18 Nov 2004 19:03:17 +0000 (19:03 +0000)]
r3857: Shut up gcc about erroneous "used uninitialised" warning.
Jeremy.
(This used to be commit ac9b91d805c3ee68119d4b25ab05ed043f0ab8f1)

16 years agor3855: Sync up with the one in the main source dir (yes, this should probably
Jeremy Allison [Thu, 18 Nov 2004 18:40:39 +0000 (18:40 +0000)]
r3855: Sync up with the one in the main source dir (yes, this should probably
be a symlink...).
Jeremy.
(This used to be commit 5b0da25796337b73d151a3025b7e460222164b3f)

16 years agor3853: Fix an uninitialized variable warning. Jeremy, there are some of these in
Volker Lendecke [Thu, 18 Nov 2004 16:14:13 +0000 (16:14 +0000)]
r3853: Fix an uninitialized variable warning. Jeremy, there are some of these in
charcnv.c.

Volker
(This used to be commit 650d52648dbf67f71d7619ffb8bf32d93a15ae9c)

16 years agor3852: Fix the build...
Volker Lendecke [Thu, 18 Nov 2004 15:52:02 +0000 (15:52 +0000)]
r3852: Fix the build...
(This used to be commit 3bd72b864f18f6fad0357c8aa632121f14e422ab)

16 years agor3850: I get the impression that some developers here are using gcc 3.4. This one
Volker Lendecke [Thu, 18 Nov 2004 15:44:01 +0000 (15:44 +0000)]
r3850: I get the impression that some developers here are using gcc 3.4. This one
only warns you about possibly uninitialized variables if you have at least
-O1.

Volker
(This used to be commit 7cd12794a3cb7c70e75ec4824d9bc88d2d3a0fcd)

16 years agor3848: Fix for bug 2057. Only partially applied the patch, the second part seems not
Volker Lendecke [Thu, 18 Nov 2004 15:13:58 +0000 (15:13 +0000)]
r3848: Fix for bug 2057. Only partially applied the patch, the second part seems not
necessary.

I'm using gcc 3.4.1, this does not detect the possibly uninitialized
variable. Does anybody know how to get 3.4.1 to warn me?

Volker
(This used to be commit 8b6f8f93a0f30be0184e6044a499c1ef8f7b247e)

16 years agor3846: Typo fix. Bug 2055. Lars, I'm available on irc.... :-)
Volker Lendecke [Thu, 18 Nov 2004 13:29:10 +0000 (13:29 +0000)]
r3846: Typo fix. Bug 2055. Lars, I'm available on irc.... :-)

Volker
(This used to be commit 78ab68367d437cd5f84d46ac96fcaf9ebb3305b8)

16 years agor3844: Attempt to get the build farm in line. Some systems seem to have defined
Volker Lendecke [Thu, 18 Nov 2004 12:19:16 +0000 (12:19 +0000)]
r3844: Attempt to get the build farm in line. Some systems seem to have defined
rewinddir as a macro and don't like the construct to call a function pointer
called rewinddir. Work around by renaming the function pointer...

Volker
(This used to be commit e547308d3ed307a242723076dff9974973fccc97)

16 years agor3843: If a connection to a DC is requested, open connections simultaeneously to all
Volker Lendecke [Thu, 18 Nov 2004 11:57:49 +0000 (11:57 +0000)]
r3843: If a connection to a DC is requested, open connections simultaeneously to all
DCs found. The first one to reply wins.

Volker
(This used to be commit 84ac54aef2bd56b5c889d3b05b8828aceb8ae00e)

16 years agor3841: Time out in ads search queries. Even AD servers can hang.
Volker Lendecke [Thu, 18 Nov 2004 11:43:14 +0000 (11:43 +0000)]
r3841: Time out in ads search queries. Even AD servers can hang.

Volker
(This used to be commit fc454c8ef6321fba9efa42a704c8e8c707361af3)

16 years agor3839: Some more specific NT security descriptors we've come across. Map them to
Volker Lendecke [Thu, 18 Nov 2004 08:16:59 +0000 (08:16 +0000)]
r3839: Some more specific NT security descriptors we've come across. Map them to
defined AFS acls. Thanks to Horst Birthelmer.

Volker
(This used to be commit fea467657d5b4f67040c8fe3e89b3b20e10c6c68)

16 years agor3824: Fix crash in api_RNetShareEnum. ServicePtrs[] may contain invalid
Volker Lendecke [Wed, 17 Nov 2004 21:22:35 +0000 (21:22 +0000)]
r3824: Fix crash in api_RNetShareEnum. ServicePtrs[] may contain invalid
entries. Happened after rev3708 removed non-existing cups printers.

Volker
(This used to be commit 60998d9d2f6272e383304da2b1d568a4b65f8787)

16 years agor3823: Fix bug reported by Tom Dickson <tdickson@inostor.com> with
Jeremy Allison [Wed, 17 Nov 2004 21:05:47 +0000 (21:05 +0000)]
r3823: Fix bug reported by Tom Dickson <tdickson@inostor.com> with
follow symlinks = no reporting an incorrect error when it should
be access denied.
Jeremy.
(This used to be commit 5a103f4abff0503740822c8ed75d9102ee51e8f0)

16 years agor3819: Updated config.guess/config.sub from
Jeremy Allison [Wed, 17 Nov 2004 20:05:31 +0000 (20:05 +0000)]
r3819: Updated config.guess/config.sub from
ftp://ftp.gnu.org/pub/gnu/config/config.guess
ftp://ftp.gnu.org/pub/gnu/config/config.sub
as requested in bugid #2048.
Jeremy.
(This used to be commit 2201981d69fba264c79cbff37aa6991f0e69ae4d)

16 years agor3817: Fix from Lars Müller <lmuelle@suse.de> for bug #2050, calculate
Jeremy Allison [Wed, 17 Nov 2004 19:52:26 +0000 (19:52 +0000)]
r3817: Fix from Lars Müller <lmuelle@suse.de> for bug #2050, calculate
max_fd for select correctly.
Jeremy.
(This used to be commit eb0b1f757d814e01980cd9c5fc4918791ce1e54d)

16 years agor3816: Added fn to remove an ACL from a file. Now need client code to test this.
Jeremy Allison [Wed, 17 Nov 2004 18:56:48 +0000 (18:56 +0000)]
r3816: Added fn to remove an ACL from a file. Now need client code to test this.
How do the share mask/modes fit into this code... Need to think about this.
Jeremy.
(This used to be commit 1aa1c2f489f5b92c3696e7b9123061d91babc34e)

16 years agor3814: At least use a proper constant name (aRONLY :-) not a number.
Jeremy Allison [Wed, 17 Nov 2004 17:51:27 +0000 (17:51 +0000)]
r3814: At least use a proper constant name (aRONLY :-) not a number.
That way we can at least remember why we did this :-).
Jeremy.
(This used to be commit d84f5f8cc10f89d5fbd6cfb694bccfbd1c3d8a3f)

16 years agor3811: Believe it or not, but this patch seems to be necessary. If someone sets a
Volker Lendecke [Wed, 17 Nov 2004 15:56:47 +0000 (15:56 +0000)]
r3811: Believe it or not, but this patch seems to be necessary. If someone sets a
folder icon in the start menu and saves the profile on a samba server, after
logging in again this setting is gone. Why is this? The folder for which the
icon is set must have the read only flag set. If it is not set, the
desktop.ini file (the file containing the icon reference) inside that folder
is ignored.

lp_profile_acls is a hack for such a situation, so overload this parameter
with another profile-related hack.

Volker
(This used to be commit b8d888000eb7456c7620e9a783d6f1b3ba4c8985)

16 years agor3796: Patch from Jay Fenlason <fenlason@redhat.com>. Don't free static buffers.
Jeremy Allison [Wed, 17 Nov 2004 01:43:36 +0000 (01:43 +0000)]
r3796: Patch from Jay Fenlason <fenlason@redhat.com>. Don't free static buffers.
Jeremy.
(This used to be commit 53acf222a86a1420abbba08a2cde27a86debe403)

16 years agor3794: Added set posix acl functionality into the UNIX extensions code.
Jeremy Allison [Wed, 17 Nov 2004 01:35:35 +0000 (01:35 +0000)]
r3794: Added set posix acl functionality into the UNIX extensions code.
One part missing - delete file acl (to be added asap). No client
code yet, also needs testing with valgrind.
Jeremy.
(This used to be commit 6101ec2247c182fde6ea3e7e1f64a92b353ec4e8)

16 years agor3778: BUG 2023: patch from Buchan Milne <bgmilne@mandrake.org> fix mandrake packagin...
Gerald Carter [Tue, 16 Nov 2004 03:27:19 +0000 (03:27 +0000)]
r3778: BUG 2023: patch from Buchan Milne <bgmilne@mandrake.org> fix mandrake packaging for Samba 3.0.9 -- still need to review this libsmbclient install location
(This used to be commit db4719ed2f5baf05d6c692f039369310bed52dc2)

16 years agor3776: Fix for bug #2038 from Johann Hanne <jhml@gmx.net>. Don't check
Jeremy Allison [Mon, 15 Nov 2004 23:03:37 +0000 (23:03 +0000)]
r3776: Fix for bug #2038 from Johann Hanne <jhml@gmx.net>. Don't check
for no groups after every lookup - move check to the end as we should
only fail if all lookups fail.
Jeremy.
(This used to be commit 3b40c1e4365f37b967e14be02c6aa52893a80f51)

16 years agor3772: BUG 2006: patch from Michel Gravey <michel.gravey@optogone.com>; fix build...
Gerald Carter [Mon, 15 Nov 2004 21:21:50 +0000 (21:21 +0000)]
r3772: BUG 2006: patch from Michel Gravey <michel.gravey@optogone.com>; fix build when using gcc 3.0
(This used to be commit 1bc79a28080f2ff783b49e5cf3adfdfc4a4940ee)

16 years agor3771: Fix bug #1952: no comment on XP shutdown
Jim McDonough [Mon, 15 Nov 2004 20:57:27 +0000 (20:57 +0000)]
r3771: Fix bug #1952: no comment on XP shutdown

Try INITSHUTDOWN pipe first, used by newer clients.  If it fails, fall back
to WINREG.
(This used to be commit f05858df65d89950c739a739a9b9fa7a04db39c3)

16 years agor3764: Ensure on failure that *res is always NULL.
Jeremy Allison [Mon, 15 Nov 2004 18:57:22 +0000 (18:57 +0000)]
r3764: Ensure on failure that *res is always NULL.
Check for malloc fail. Fixes for bug #2036.
Jeremy.
(This used to be commit b815247747214ba413c054746e9732d5f2b10535)

16 years agor3761: Fix bug #1932: crash when non-root invokes net getlocalsid
Jim McDonough [Mon, 15 Nov 2004 17:20:58 +0000 (17:20 +0000)]
r3761: Fix bug #1932: crash when non-root invokes net getlocalsid

First check to see if we can open secrets.tdb.
(This used to be commit 81e3c78d056c0a7499b8f27dcd37a13e725053ee)

16 years agor3758: Increase a debug level. This error condition can actually happen in real life
Volker Lendecke [Mon, 15 Nov 2004 13:18:12 +0000 (13:18 +0000)]
r3758: Increase a debug level. This error condition can actually happen in real life
if you have several competing winbinds that might get a lag due to
replication.

Volker
(This used to be commit 1c3f194ab7ab63aeb2284d7e5c7e183340740ceb)

16 years agor3727: Update from Rob Foehl (rwf@loonybin.net):
Jim McDonough [Sun, 14 Nov 2004 03:12:46 +0000 (03:12 +0000)]
r3727: Update from Rob Foehl (rwf@loonybin.net):
Try modifying printer before adding it,since add logic appends ObjectClass to mods, which caused a contraint violation when modifying an already published printer.

Also cleanup the check_published_printers() logic when verifying published status on startup.
(This used to be commit 82eb168c827b4b7310b42c0f36c504e0fa16dc99)

16 years agor3714: Getfacl now seems to work on files and directories. Next do setfacl
Jeremy Allison [Sat, 13 Nov 2004 00:35:31 +0000 (00:35 +0000)]
r3714: Getfacl now seems to work on files and directories. Next do setfacl
and port to Samba4.
Jeremy.
(This used to be commit 4d52bf7c8b3147dd4f0d3081fbf9a1f5ebd246a1)

16 years agor3713: Implementation of get posix acls in UNIX extensions. Passes valgrind.
Jeremy Allison [Fri, 12 Nov 2004 23:42:12 +0000 (23:42 +0000)]
r3713: Implementation of get posix acls in UNIX extensions. Passes valgrind.
Need to add printout functions in client and set posix acl in server.
SteveF - take a look at this for the cifsfs client !
Once this is working and tested the next step is to write this up for
the UNIX extensions spec. documents.
Jeremy.
(This used to be commit 1bd3f133442a472b4718b94a636f2fec89a2e0dc)

16 years agor3711: Fix KRB5_SETPW-defines, no change in behaviour.
Günther Deschner [Fri, 12 Nov 2004 23:13:03 +0000 (23:13 +0000)]
r3711: Fix KRB5_SETPW-defines, no change in behaviour.

A value of '2' is due to an expired internet draft, while 0xff80 comes
from RFC3244. See Bugzilla #1661 for details.

Thanks to Luke Mewburn <lukem@NetBSD.org> for his research.

Guenther
(This used to be commit 3906c1623fb3823612347a0533ad49d7dfbe1b99)

16 years agor3710: fix another safe_strcpy() warning SPAM with the printer drivcename
Gerald Carter [Fri, 12 Nov 2004 22:15:55 +0000 (22:15 +0000)]
r3710: fix another safe_strcpy() warning SPAM with the printer drivcename
(This used to be commit 5eac16464dfe58ec2c725888993f313fdb609f9b)

16 years agor3709: Allow to build testsuite for libsmbclient when libsmbclient.so is
Günther Deschner [Fri, 12 Nov 2004 22:05:27 +0000 (22:05 +0000)]
r3709: Allow to build testsuite for libsmbclient when libsmbclient.so is
located not in -L/root/samba-head-old/source/bin.

Patch from Lars Mueller <lmuelle@suse.de>, closes Bugzilla #2013.

Guenther
(This used to be commit 0a02eac76714ada5192c238416013f68eb4e63d5)

16 years agor3708: BUG 1838: patch from Gavrie Philipson <gavrie@disksites.com> to remove stale...
Gerald Carter [Fri, 12 Nov 2004 17:39:32 +0000 (17:39 +0000)]
r3708: BUG 1838: patch from Gavrie Philipson <gavrie@disksites.com> to remove stale printers when reloading after a sighup
(This used to be commit bcb9105c5488a97944d2dfee8681d662e9c9b818)

16 years agor3707: 2028: avoid false error messages when copying a long printer name to the devic...
Gerald Carter [Fri, 12 Nov 2004 17:23:01 +0000 (17:23 +0000)]
r3707: 2028: avoid false error messages when copying a long printer name to the device mode
(This used to be commit c9613214a5797adbb62a953bd5e28cf9fe2692ee)

16 years agor3705: Nobody has commented, so I'll take this as an ack...
Volker Lendecke [Fri, 12 Nov 2004 15:49:47 +0000 (15:49 +0000)]
r3705: Nobody has commented, so I'll take this as an ack...

abartlet, I'd like to ask you to take a severe look at this!

We have solved the problem to find the global groups a user is in twice: Once
in auth_util.c and another time for the corresponding samr call. The attached
patch unifies these and sends them through the passdb backend (new function
pdb_enum_group_memberships). Thus it gives pdb_ldap.c the chance to further
optimize the corresponding call if the samba and posix accounts are unified by
issuing a specialized ldap query.

The parameter to activate this ldapsam behaviour is

ldapsam:trusted = yes

Volker
(This used to be commit b94838aff1a009f8d8c2c3efd48756a5b8f3f989)

16 years agor3704: Implement a cache get saves the result of a pdb_getsampwnam for later
Volker Lendecke [Fri, 12 Nov 2004 15:30:51 +0000 (15:30 +0000)]
r3704: Implement a cache get saves the result of a pdb_getsampwnam for later
retrieval by pdb_getsampwsid. This solves our problem that we do lots of calls
to LDAP during a typical XP login. XP does a lookupnames, then an openuser and
some queryinfo stuff. Lookupnames triggers the initial getsampwnam, and all
the subsequent ones make us call getsampwsid. This patch gets this down to one
call to LDAP.

Yes, a more "correct" way would be to stick the information to the open user
handle, but this one is simpler and saves the LDAP roundtrip for the openuser
call.

Volker
(This used to be commit 3d9758fa3c584bb25eca0b7ed04af4ddfeba315f)

16 years agor3702: This is a getpwnam-cache. It is mainly to speed up Samba with slow nss
Volker Lendecke [Fri, 12 Nov 2004 15:01:40 +0000 (15:01 +0000)]
r3702: This is a getpwnam-cache. It is mainly to speed up Samba with slow nss
backends such as nss_ldap.

Volker
(This used to be commit a8bd0b75042f73b753fc1cb8a52e6e90372fd1fe)

16 years agor3697: BUG 2027: fix multiple declaration of MD5_CTX (do we really care about DOS...
Gerald Carter [Fri, 12 Nov 2004 03:36:15 +0000 (03:36 +0000)]
r3697: BUG 2027: fix multiple declaration of MD5_CTX (do we really care about DOS compilers?).  Will watch build farm though.
(This used to be commit b59aeb12c86f3630eb40f033b8c2b70e9a57675c)

16 years agor3693: Correctly detect errno for no acl/ea support.
Jeremy Allison [Fri, 12 Nov 2004 02:16:00 +0000 (02:16 +0000)]
r3693: Correctly detect errno for no acl/ea support.
Jeremy
(This used to be commit 089a76f611187e2ba4c3363b657905d04576109e)

16 years agor3688: fix output of smbstatus to make the man page; fix -L, -p, & -S and the -u...
Gerald Carter [Thu, 11 Nov 2004 23:30:32 +0000 (23:30 +0000)]
r3688: fix output of smbstatus to make the man page; fix -L, -p, & -S and the -u <username> functionality
(This used to be commit 7dd12ed8a5ebbfa791f014b35debcf55d80e6d87)

16 years agor3685: setting the 3.0 branch to 3.0.10pre1-svn
Gerald Carter [Thu, 11 Nov 2004 20:41:28 +0000 (20:41 +0000)]
r3685: setting the 3.0 branch to 3.0.10pre1-svn
(This used to be commit 5dec4cdf5ac8795f723bbd8195df7b84aaf8d594)

16 years agor3683: BUG 2017: fix testparm reporting for the passwd program string
Gerald Carter [Thu, 11 Nov 2004 18:11:40 +0000 (18:11 +0000)]
r3683: BUG 2017: fix testparm reporting for the passwd program string
(This used to be commit 23422aeec04dfb72a0ad5b0a67622cec69ca502d)

16 years agor3682: fix seg fault in lanman printing code caused by uninitialized variable
Gerald Carter [Thu, 11 Nov 2004 17:40:49 +0000 (17:40 +0000)]
r3682: fix seg fault in lanman printing code caused by uninitialized variable
(This used to be commit c52e663c4a32b975796383834b2c04796daf8f29)

16 years agor3681: Fix build of libsmbclient on x86_64.
Günther Deschner [Thu, 11 Nov 2004 15:38:21 +0000 (15:38 +0000)]
r3681: Fix build of libsmbclient on x86_64.
Patch from Lars Mueller <lmuelle@suse.de>

Guenther
(This used to be commit b87abdfd0ee7ba1f8a1fb13d47c76baa538a4c6a)

16 years agor3674: Stefan Esser <s.esser@e-matters.de> pointed out that the max data
Jeremy Allison [Wed, 10 Nov 2004 23:43:52 +0000 (23:43 +0000)]
r3674: Stefan Esser <s.esser@e-matters.de> pointed out that the max data
value is only valid on the initial trans/trans2/nttrans request,
so if there are secondary requests we can't read it from them. Read
it from the initial request and pass as a parameter for those functions
that need it.
Jeremy.
(This used to be commit e007845e67e0604321fb36b216a98e4fca1c98e1)

16 years agor3673: Do not fail on setting file attributes with acl support enabled.
Günther Deschner [Wed, 10 Nov 2004 23:12:02 +0000 (23:12 +0000)]
r3673: Do not fail on setting file attributes with acl support enabled.
Rolling back r3496 (close #2015).

Guenther
(This used to be commit e88ac807847bd016f9c921f01f788708b1564b5c)

16 years agor3671: More warning fixes from Rob Foehl <rwf@loonybin.net>.
Jeremy Allison [Wed, 10 Nov 2004 23:03:26 +0000 (23:03 +0000)]
r3671: More warning fixes from Rob Foehl <rwf@loonybin.net>.
Jeremy.
(This used to be commit 3850f142c174034397451de8457564b9604113c5)

16 years agor3670: Warning fixes from Rob Foehl <rwf@loonybin.net>.
Jeremy Allison [Wed, 10 Nov 2004 23:02:48 +0000 (23:02 +0000)]
r3670: Warning fixes from Rob Foehl <rwf@loonybin.net>.
Jeremy.
(This used to be commit 54da75ca4cc27dfb0012fd17047702ec2f39cae9)

16 years agor3668: Fix unresolved symbols in libsmbclient.so.
Günther Deschner [Wed, 10 Nov 2004 21:49:36 +0000 (21:49 +0000)]
r3668: Fix unresolved symbols in libsmbclient.so.
Patch from Lars Müller <lmuelle@suse.de> ( Bugzilla #2013 )

Guenther
(This used to be commit af3ec11f8d6cae9bbad5dc5f3b9ae6e00bf1dd7e)

16 years agor3666: Generalise fix for trans and nttrans multi-fragment requests.
Jeremy Allison [Wed, 10 Nov 2004 20:37:14 +0000 (20:37 +0000)]
r3666: Generalise fix for trans and nttrans multi-fragment requests.
Jeremy
(This used to be commit 10b2489e3b2345a8532098523ebcebb73665a76f)

16 years agor3663: Fix too tight checking of incoming secondary trans2 requests.
Jeremy Allison [Wed, 10 Nov 2004 19:34:50 +0000 (19:34 +0000)]
r3663: Fix too tight checking of incoming secondary trans2 requests.
Found by Stefan Esser <s.esser@e-matters.de>.
Jeremy.
(This used to be commit 44132c39ecbf055b897b1aa7bfca4eb1731badbf)

16 years agor3662: Fix dirent return.
Jeremy Allison [Wed, 10 Nov 2004 19:34:13 +0000 (19:34 +0000)]
r3662: Fix dirent return.
Jeremy.
(This used to be commit da4117841db731da8f1b7fe7c2524e9d4d60f09a)

16 years agor3650: Allow to call spoolss-server as "localhost".
Günther Deschner [Wed, 10 Nov 2004 02:13:36 +0000 (02:13 +0000)]
r3650: Allow to call spoolss-server as "localhost".

Guenther
(This used to be commit 14a0292250ee9975618b68701a48c72195286d85)

16 years agor3649: Fix a couple of rpcclient spoolss commands (setprinter, setprintername,
Günther Deschner [Wed, 10 Nov 2004 02:09:13 +0000 (02:09 +0000)]
r3649: Fix a couple of rpcclient spoolss commands (setprinter, setprintername,
getdriver) w.r.t to printer-naming scheme.

Guenther
(This used to be commit 968c3fc416e836c3958a068df7b4599682028a99)

16 years agor3645: Allow deldriverex in rpcclient to delete drivers for a specific
Günther Deschner [Wed, 10 Nov 2004 00:53:35 +0000 (00:53 +0000)]
r3645: Allow deldriverex in rpcclient to delete drivers for a specific
architecture and a specific version.

Guenther
(This used to be commit a24df09386f177e625fb99c975896cbe7a594b4b)

16 years agor3644: Fixup examples VFS compile.
Jeremy Allison [Tue, 9 Nov 2004 23:55:04 +0000 (23:55 +0000)]
r3644: Fixup examples VFS compile.
Jeremy.
(This used to be commit dfa910e4ab498100d0572838f2ac05faec3c917f)

16 years agor3642: Extend vfs to add seekdir/telldir/rewinddir. Yes I know I have to
Jeremy Allison [Tue, 9 Nov 2004 22:49:28 +0000 (22:49 +0000)]
r3642: Extend vfs to add seekdir/telldir/rewinddir. Yes I know I have to
fix the modules too... First step in fixing out large directories
problem.
Jeremy.
(This used to be commit 344e9dd33a936b429fefb67cd748ac009a1bab10)

16 years agor3639: patch from Martin Zielinski <mz@seh.de> to add DeleteDriverEx() function to...
Gerald Carter [Tue, 9 Nov 2004 21:15:14 +0000 (21:15 +0000)]
r3639: patch from Martin Zielinski <mz@seh.de> to add DeleteDriverEx() function to rpcclient
(This used to be commit cfd51c02447f7b42cffcaf4cc6179237d58c8229)

16 years agor3638: solaris packaging fixes
Gerald Carter [Tue, 9 Nov 2004 17:47:57 +0000 (17:47 +0000)]
r3638: solaris packaging fixes
(This used to be commit 1504b1d05c1a62bc0be05716805a3cb223d09c09)

16 years agor3637: update the debian packages changelog
Simo Sorce [Tue, 9 Nov 2004 17:02:39 +0000 (17:02 +0000)]
r3637: update the debian packages changelog
(This used to be commit 487df8c62ec121bd43b8b4e9493dc94a5a851321)

16 years agor3628: A typo and a compile-warning.
Günther Deschner [Mon, 8 Nov 2004 23:34:28 +0000 (23:34 +0000)]
r3628: A typo and a compile-warning.

Guenther
(This used to be commit 906d5f88aabf091ee273e0ed9c3d2947b22c5390)

16 years agor3627: Allow to add dummy-form in rpcclient.
Günther Deschner [Mon, 8 Nov 2004 23:29:40 +0000 (23:29 +0000)]
r3627: Allow to add dummy-form in rpcclient.

Guenther
(This used to be commit 11622805fb946b7b022d06ec4a85db2bfbf71f12)

16 years agor3616: Merge for 3.0.8.
Andrew Bartlett [Mon, 8 Nov 2004 04:32:23 +0000 (04:32 +0000)]
r3616: Merge for 3.0.8.

In auth_winbind, remove the push_utf8 calls, as this is no longer a
UTF8 interface.  (Removed from everywhere else earlier).

Tested with ASCII - I tried to load the weird charset for testing, but
it doesn't seem to work any more.

Andrew Bartlett
(This used to be commit cb27c197ee44d2be09014598e3928642b59ef956)

16 years agor3604: fix bug in Fedora packaging scripts
Gerald Carter [Sun, 7 Nov 2004 20:21:14 +0000 (20:21 +0000)]
r3604: fix bug in Fedora packaging scripts
(This used to be commit fdc84a04fe8989e36442d09136ededa0c73dae5f)

16 years agor3569: Fix for bug #1651, added extra servicePrincipalNames for kerberos interop.
Jeremy Allison [Fri, 5 Nov 2004 23:50:26 +0000 (23:50 +0000)]
r3569: Fix for bug #1651, added extra servicePrincipalNames for kerberos interop.
Modified the redhat patch some...
Jeremy.
(This used to be commit 2ae717cd2c876649464f91093e55bed64ac5588d)

16 years agor3566: Completely replace the queryuseraliases call. The previous implementation...
Volker Lendecke [Fri, 5 Nov 2004 23:34:00 +0000 (23:34 +0000)]
r3566: Completely replace the queryuseraliases call. The previous implementation does
not exactly match what you would expect.

XP workstations during login actually do this, so we should better become a
bit more correct. The LDAP query issued is not really fully optimal, but it is
a lot faster and more correct than what was there before. The change in
passdb.h makes it possible that queryuseraliases is done with a single ldap
query.

Volker
(This used to be commit 2508d4ed1e16c268fc9f3676b0c6a122e070f93d)

16 years agor3563: During a typical logon a modern workstation makes a lot of anonymous session
Volker Lendecke [Fri, 5 Nov 2004 22:53:35 +0000 (22:53 +0000)]
r3563: During a typical logon a modern workstation makes a lot of anonymous session
setups on its way to open a pipe. This gets rid of many round-trips to the
LDAP server during logon by setting up the server_info_guest once and not
asking the LDAP server and nss every time. Make sure that the ldap connection
is reopened in the child. (I did not look at the sql backends.)

Volker
(This used to be commit 3298f6105e6a88c9390cac02245c8f2eee1e5046)

16 years agor3561: Since we have tdb_reopen_all() after all forks, the local_pid logic is not
Volker Lendecke [Fri, 5 Nov 2004 21:55:21 +0000 (21:55 +0000)]
r3561: Since we have tdb_reopen_all() after all forks, the local_pid logic is not
correct anymore. If we actually open the tdb before the fork, we end up
opening the tdb twice. Jerry, jra, this also happens in the locking and
printing subsystems. You might want to check it there (not that it actually
happens right now, but this gave me some confusion lately...).

Volker
(This used to be commit 40cad9dcc14ddec0ce74bb9010d13bd82e4d10af)

16 years agor3559: If called interactively, on shutdown dump the talloc contexts left. Idea
Volker Lendecke [Fri, 5 Nov 2004 21:45:02 +0000 (21:45 +0000)]
r3559: If called interactively, on shutdown dump the talloc contexts left. Idea
stolen from samba4 ... ;-)

Volker
(This used to be commit b111bb46afc247e034a11e953b9d243cde69cc07)

16 years agor3538: Fix the build with the latest Heimdal code.
Jeremy Allison [Fri, 5 Nov 2004 00:57:29 +0000 (00:57 +0000)]
r3538: Fix the build with the latest Heimdal code.
Jeremy.
(This used to be commit 34275bae787762646f02ea1dec19d7b3a9a733a3)

16 years agor3535: Tidy up error reporting. Memory leak with MIT krb5 1.3.5 turns
Jeremy Allison [Thu, 4 Nov 2004 23:56:23 +0000 (23:56 +0000)]
r3535: Tidy up error reporting. Memory leak with MIT krb5 1.3.5 turns
out to be in the kerberos libraries, not in Samba. Now to test
with Heimdal.
Jeremy
(This used to be commit b08e3bf6fb1052285e4efd669d9717d3a617499d)

16 years agor3525: Fix a memleak
Volker Lendecke [Thu, 4 Nov 2004 09:30:13 +0000 (09:30 +0000)]
r3525: Fix a memleak

Volker
(This used to be commit 4c4da26aa19bedcbb52ed3e6d43ca380a7c1603c)

16 years agor3504: Fix incorrectly applied patch. My fault - sorry!
Tim Potter [Wed, 3 Nov 2004 06:12:07 +0000 (06:12 +0000)]
r3504: Fix incorrectly applied patch.  My fault - sorry!
(This used to be commit 43a7f7db3d1995089ac8fb279f36e9e8edb1d8bb)

16 years agor3502: Tidy up debugging in kerberos_keytab code.
Jeremy Allison [Wed, 3 Nov 2004 02:18:51 +0000 (02:18 +0000)]
r3502: Tidy up debugging in kerberos_keytab code.
Jeremy.
(This used to be commit 82651c1b1704d90ca52be1463ee871801c607d3b)

16 years agor3498: Optimisation of idmap_rid init: Avoid calling a DC for the domain-sid
Günther Deschner [Wed, 3 Nov 2004 00:39:34 +0000 (00:39 +0000)]
r3498: Optimisation of idmap_rid init: Avoid calling a DC for the domain-sid
when trusted domains are disabled anyway.

Guenther
(This used to be commit cd30a0b14adf1e58c19bcbfec385a5794d4ca112)

16 years agor3496: Fix calling of get_acl_group_bits().
Günther Deschner [Wed, 3 Nov 2004 00:32:08 +0000 (00:32 +0000)]
r3496: Fix calling of get_acl_group_bits().

Guenther
(This used to be commit 3acc74eef5dae16d7e2792206640904265c42494)

16 years agor3495: Fix the build (recent kerberos-changes).
Günther Deschner [Wed, 3 Nov 2004 00:29:09 +0000 (00:29 +0000)]
r3495: Fix the build (recent kerberos-changes).

Guenther
(This used to be commit c7eab285d967345510a15e83bce508edb8e06e99)

16 years agor3492: Fixes from testing kerberos salted principal fix.
Jeremy Allison [Tue, 2 Nov 2004 21:28:14 +0000 (21:28 +0000)]
r3492: Fixes from testing kerberos salted principal fix.
Jeremy.
(This used to be commit b356a8fdc5a1ac45f2f7f56a0836e794bdecddc6)

16 years agor3469: Fix build of smbmount.
Günther Deschner [Tue, 2 Nov 2004 08:49:18 +0000 (08:49 +0000)]
r3469: Fix build of smbmount.

Guenther
(This used to be commit d22b29ee9c37b9d35e0d785632a10856045df0dc)

16 years agor3451: Finish off kerberos salting patch. Needs testing !
Jeremy Allison [Tue, 2 Nov 2004 02:21:26 +0000 (02:21 +0000)]
r3451: Finish off kerberos salting patch. Needs testing !
Jeremy.
(This used to be commit ff4cb6b5e80731856d6f3f7eebd8fc23902e3580)

16 years agor3439: Finally fix build for platforms without kerberos.
Günther Deschner [Mon, 1 Nov 2004 19:35:55 +0000 (19:35 +0000)]
r3439: Finally fix build for platforms without kerberos.

Guenther
(This used to be commit 05619cfdbf814e5c79e65934b82424eca00c76c4)

16 years agor3438: fix some kerberos-related prototype warnings
Günther Deschner [Mon, 1 Nov 2004 18:44:15 +0000 (18:44 +0000)]
r3438: fix some kerberos-related prototype warnings

Guenther
(This used to be commit 43c8a9e25961f65677a55e701f54c0227329a756)

16 years agor3437: fix the build.
Günther Deschner [Mon, 1 Nov 2004 16:55:40 +0000 (16:55 +0000)]
r3437: fix the build.

Guenther
(This used to be commit c4cb2ffa611f79ab3ba17f2afd8e4cd99b0afad3)

16 years agor3436: Fix build with recent heimdal-versions (0.6.3) as pointed out by Luke
Günther Deschner [Mon, 1 Nov 2004 16:18:14 +0000 (16:18 +0000)]
r3436: Fix build with recent heimdal-versions (0.6.3) as pointed out by Luke
Mewburn <lukem@NetBSD.org> and close Bugzilla #1661.

Leaving the old define for KRB5_KPASSWD_VERS_SETPW (added by Antti
Andreimann) as fallback when the library does not provide one.

Guenther
(This used to be commit 00598877dfb7aab48d1b5d58b3a69ed2dd8a36a8)

16 years agor3420: install smbwrapper and add the include directory in the package
Gerald Carter [Mon, 1 Nov 2004 02:00:09 +0000 (02:00 +0000)]
r3420: install smbwrapper and add the include directory in the package
(This used to be commit fbde364882151f8fac000b9a547eb9d57bb78786)

16 years agor3417: BUG 350: patch from Matt Selsky <selsky@columbia.edu> to use autoconf feature...
Gerald Carter [Sun, 31 Oct 2004 22:06:37 +0000 (22:06 +0000)]
r3417: BUG 350: patch from Matt Selsky <selsky@columbia.edu> to use autoconf feature preopcessing header file only (3 problematic headers on solaris)
(This used to be commit b4da6bd0f12d599eff4a90a91ca469145bee6275)

16 years agor3408: Another build fix
Volker Lendecke [Sun, 31 Oct 2004 11:26:31 +0000 (11:26 +0000)]
r3408: Another build fix
(This used to be commit 0bc5105f71c79e8c709d3bdfcc57cf8621e6fad5)

16 years agor3407: Fix the build
Volker Lendecke [Sun, 31 Oct 2004 11:20:07 +0000 (11:20 +0000)]
r3407: Fix the build
(This used to be commit b144ce557f516f62ab802fbb277799b10153c8fb)

16 years agor3399: a few more packaging fixes
Gerald Carter [Sun, 31 Oct 2004 03:11:41 +0000 (03:11 +0000)]
r3399: a few more packaging fixes
(This used to be commit 662415454b1fa91e2bd5f6cab30ec902f5f1fa9f)

16 years agor3398: fixing up solaris packaging for 3.0.x
Gerald Carter [Sun, 31 Oct 2004 02:32:35 +0000 (02:32 +0000)]
r3398: fixing up solaris packaging for 3.0.x
(This used to be commit 7b66980f4fbeac66ea8c3e9c32f1543df923a4a5)