summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r3882: Fix bug 2069 -- thanks to jason@ncac.gwu.eduVolker Lendecke1-1/+2
(This used to be commit 5c9fd4d8963130829684469be172e859b3799e27)
2007-10-10r3880: Tidy up some unused/shadowed variable usage.Jeremy Allison1-4/+5
Jeremy. (This used to be commit 1fd1a98782c3ca7171428b62336936aef4c6685b)
2007-10-10r3877: Final (I hope :-) fix for #2050 from Lars Müller for select maxfd's.Jeremy Allison3-24/+17
Jeremy. (This used to be commit 65fc39fc388244923d1e36076b5a4116aa434be5)
2007-10-10r3875: Allow to look up at least or own sid in _lsa_lookup_sids.Günther Deschner3-2/+17
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)
2007-10-10r3873: The semantics of the parameter 'printcap name' are a bit tricky. I ↵Volker Lendecke1-5/+20
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)
2007-10-10r3871: Fix memleakVolker Lendecke1-1/+3
(This used to be commit dbfdde5f63f34fbe4ba1d794fcfc120178ff039a)
2007-10-10r3868: Fix reverted logic of detecting HAVE_WRFILE_KEYTAB (Bugzilla 2059)Günther Deschner1-3/+1
Guenther (This used to be commit 8d987d2f38005969798fe829f87c3ffc1d1e5edd)
2007-10-10r3867: Fix from david.hu@hp.com - make a copy of an incoming messageJeremy Allison1-5/+5
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)
2007-10-10r3864: Fix from Lars Müller <lmuelle@suse.de> for bug #2050.Jeremy Allison1-3/+19
Make nmbd use maxfd+1 in select also. Jeremy. (This used to be commit e3ca22b80dc1c22f0e5c829d11724c79e317641f)
2007-10-10r3862: Fix from Lars Müller <lmuelle@suse.de>, check for HAVE_WRFILE_KEYTABJeremy Allison1-2/+2
was inverted. Jeremy. (This used to be commit 6a9799806874619c471548b8ff0b3dc36788f81a)
2007-10-10r3859: Ensure if num_acls is set to 0xFFFF this field is ignored.Jeremy Allison3-55/+74
Use def_acl everywhere instead of dir_acl. Jeremy. (This used to be commit d28611c960f87830aa8449725951984aa155b089)
2007-10-10r3857: Shut up gcc about erroneous "used uninitialised" warning.Jeremy Allison1-3/+3
Jeremy. (This used to be commit ac9b91d805c3ee68119d4b25ab05ed043f0ab8f1)
2007-10-10r3855: Sync up with the one in the main source dir (yes, this should probablyJeremy Allison1-17/+22
be a symlink...). Jeremy. (This used to be commit 5b0da25796337b73d151a3025b7e460222164b3f)
2007-10-10r3853: Fix an uninitialized variable warning. Jeremy, there are some of these inVolker Lendecke1-0/+2
charcnv.c. Volker (This used to be commit 650d52648dbf67f71d7619ffb8bf32d93a15ae9c)
2007-10-10r3852: Fix the build...Volker Lendecke1-1/+1
(This used to be commit 3bd72b864f18f6fad0357c8aa632121f14e422ab)
2007-10-10r3850: I get the impression that some developers here are using gcc 3.4. ↵Volker Lendecke1-1/+1
This one only warns you about possibly uninitialized variables if you have at least -O1. Volker (This used to be commit 7cd12794a3cb7c70e75ec4824d9bc88d2d3a0fcd)
2007-10-10r3848: Fix for bug 2057. Only partially applied the patch, the second part ↵Volker Lendecke1-0/+7
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)
2007-10-10r3846: Typo fix. Bug 2055. Lars, I'm available on irc.... :-)Volker Lendecke1-1/+1
Volker (This used to be commit 78ab68367d437cd5f84d46ac96fcaf9ebb3305b8)
2007-10-10r3844: Attempt to get the build farm in line. Some systems seem to have definedVolker Lendecke2-3/+3
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)
2007-10-10r3843: If a connection to a DC is requested, open connections ↵Volker Lendecke4-163/+567
simultaeneously to all DCs found. The first one to reply wins. Volker (This used to be commit 84ac54aef2bd56b5c889d3b05b8828aceb8ae00e)
2007-10-10r3841: Time out in ads search queries. Even AD servers can hang.Volker Lendecke1-7/+44
Volker (This used to be commit fc454c8ef6321fba9efa42a704c8e8c707361af3)
2007-10-10r3839: Some more specific NT security descriptors we've come across. Map them toVolker Lendecke1-2/+13
defined AFS acls. Thanks to Horst Birthelmer. Volker (This used to be commit fea467657d5b4f67040c8fe3e89b3b20e10c6c68)
2007-10-10r3824: Fix crash in api_RNetShareEnum. ServicePtrs[] may contain invalidVolker Lendecke1-0/+4
entries. Happened after rev3708 removed non-existing cups printers. Volker (This used to be commit 60998d9d2f6272e383304da2b1d568a4b65f8787)
2007-10-10r3823: Fix bug reported by Tom Dickson <tdickson@inostor.com> withJeremy Allison1-1/+2
follow symlinks = no reporting an incorrect error when it should be access denied. Jeremy. (This used to be commit 5a103f4abff0503740822c8ed75d9102ee51e8f0)
2007-10-10r3819: Updated config.guess/config.sub fromJeremy Allison2-167/+345
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)
2007-10-10r3817: Fix from Lars Müller <lmuelle@suse.de> for bug #2050, calculateJeremy Allison1-2/+8
max_fd for select correctly. Jeremy. (This used to be commit eb0b1f757d814e01980cd9c5fc4918791ce1e54d)
2007-10-10r3816: Added fn to remove an ACL from a file. Now need client code to test this.Jeremy Allison1-2/+128
How do the share mask/modes fit into this code... Need to think about this. Jeremy. (This used to be commit 1aa1c2f489f5b92c3696e7b9123061d91babc34e)
2007-10-10r3814: At least use a proper constant name (aRONLY :-) not a number.Jeremy Allison1-2/+2
That way we can at least remember why we did this :-). Jeremy. (This used to be commit d84f5f8cc10f89d5fbd6cfb694bccfbd1c3d8a3f)
2007-10-10r3811: Believe it or not, but this patch seems to be necessary. If someone ↵Volker Lendecke1-2/+11
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)
2007-10-10r3796: Patch from Jay Fenlason <fenlason@redhat.com>. Don't free static buffers.Jeremy Allison1-1/+0
Jeremy. (This used to be commit 53acf222a86a1420abbba08a2cde27a86debe403)
2007-10-10r3794: Added set posix acl functionality into the UNIX extensions code.Jeremy Allison2-6/+273
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)
2007-10-10r3778: BUG 2023: patch from Buchan Milne <bgmilne@mandrake.org> fix mandrake ↵Gerald Carter4-123/+198
packaging for Samba 3.0.9 -- still need to review this libsmbclient install location (This used to be commit db4719ed2f5baf05d6c692f039369310bed52dc2)
2007-10-10r3776: Fix for bug #2038 from Johann Hanne <jhml@gmx.net>. Don't checkJeremy Allison1-9/+4
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)
2007-10-10r3772: BUG 2006: patch from Michel Gravey <michel.gravey@optogone.com>; fix ↵Gerald Carter2-2/+2
build when using gcc 3.0 (This used to be commit 1bc79a28080f2ff783b49e5cf3adfdfc4a4940ee)
2007-10-10r3771: Fix bug #1952: no comment on XP shutdownJim McDonough1-11/+70
Try INITSHUTDOWN pipe first, used by newer clients. If it fails, fall back to WINREG. (This used to be commit f05858df65d89950c739a739a9b9fa7a04db39c3)
2007-10-10r3764: Ensure on failure that *res is always NULL.Jeremy Allison1-3/+8
Check for malloc fail. Fixes for bug #2036. Jeremy. (This used to be commit b815247747214ba413c054746e9732d5f2b10535)
2007-10-10r3761: Fix bug #1932: crash when non-root invokes net getlocalsidJim McDonough1-1/+9
First check to see if we can open secrets.tdb. (This used to be commit 81e3c78d056c0a7499b8f27dcd37a13e725053ee)
2007-10-10r3758: Increase a debug level. This error condition can actually happen in ↵Volker Lendecke1-1/+1
real life if you have several competing winbinds that might get a lag due to replication. Volker (This used to be commit 1c3f194ab7ab63aeb2284d7e5c7e183340740ceb)
2007-10-10r3727: Update from Rob Foehl (rwf@loonybin.net):Jim McDonough1-24/+10
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)
2007-10-10r3714: Getfacl now seems to work on files and directories. Next do setfaclJeremy Allison3-3/+135
and port to Samba4. Jeremy. (This used to be commit 4d52bf7c8b3147dd4f0d3081fbf9a1f5ebd246a1)
2007-10-10r3713: Implementation of get posix acls in UNIX extensions. Passes valgrind.Jeremy Allison5-3/+418
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)
2007-10-10r3711: Fix KRB5_SETPW-defines, no change in behaviour.Günther Deschner1-7/+5
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)
2007-10-10r3710: fix another safe_strcpy() warning SPAM with the printer drivcenameGerald Carter1-1/+1
(This used to be commit 5eac16464dfe58ec2c725888993f313fdb609f9b)
2007-10-10r3709: Allow to build testsuite for libsmbclient when libsmbclient.so isGünther Deschner1-2/+34
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)
2007-10-10r3708: BUG 1838: patch from Gavrie Philipson <gavrie@disksites.com> to ↵Gerald Carter1-1/+2
remove stale printers when reloading after a sighup (This used to be commit bcb9105c5488a97944d2dfee8681d662e9c9b818)
2007-10-10r3707: 2028: avoid false error messages when copying a long printer name to ↵Gerald Carter1-1/+1
the device mode (This used to be commit c9613214a5797adbb62a953bd5e28cf9fe2692ee)
2007-10-10r3705: Nobody has commented, so I'll take this as an ack...Volker Lendecke10-141/+334
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)
2007-10-10r3704: Implement a cache get saves the result of a pdb_getsampwnam for laterVolker Lendecke1-1/+27
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)
2007-10-10r3702: This is a getpwnam-cache. It is mainly to speed up Samba with slow nssVolker Lendecke1-0/+43
backends such as nss_ldap. Volker (This used to be commit a8bd0b75042f73b753fc1cb8a52e6e90372fd1fe)
2007-10-10r3697: BUG 2027: fix multiple declaration of MD5_CTX (do we really care ↵Gerald Carter1-5/+0
about DOS compilers?). Will watch build farm though. (This used to be commit b59aeb12c86f3630eb40f033b8c2b70e9a57675c)