summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r17391: Revert the second part of the valid users fix - theJeremy Allison2007-10-101-23/+5
| | | | | | | | | | netlogon code uses pdb_get_group_sid() which could return a S-1-1-22 unix sid. Who knew.... :-(. I'm going to test Volker's fix instead. Once 3.0.23b is out we *have* to rip out the pdb_set_group_sid() code.... Jeremy. (This used to be commit 65003e1b251b4762cef2b3cdcc895269f9319eb8)
* r17388: Fix the "valid users"/token issue for now. Volker,Jeremy Allison2007-10-101-5/+23
| | | | | | | please come in and fix it in a less ugly way once you have some time. Thanks, Jeremy. (This used to be commit 79b1e668e2ce263c84ff8fafaafb3e57b06717ab)
* r17386: fix inverted logic pointed out by Volker. When deleting a printer ↵Gerald Carter2007-10-101-1/+1
| | | | | | return access denied if the printer still exists after the delete_printer_hook() is called (This used to be commit c05e2bdc0c068eb832035daea7962ab1a9e787b2)
* r17383: Patch from Michael Adams <ma@sernet.de> to catchGerald Carter2007-10-101-17/+17
| | | | | some memory leaks on error paths in net_ads_join() (This used to be commit 24de2d83ff1d27400a89985126edee588bc415f3)
* r17378: Fix the issues people have been having with mappedJeremy Allison2007-10-101-2/+2
| | | | | | | | | | | | | | | | users (username map) and failure to connect to a share. Essentially, even on a standalone system we were going into the create_token_from_username() code (I think by mistake) if the username was mapped. Fixes bug #3991. Volker & Jerry - please go over this with a very careful eye and let me know if this isn't correct (I think it is, but this isn't my code and it's a dangerous area for me to be playing in :-). Jeremy (This used to be commit 0b5b2b53ec6e4c25b5f6645451dfce4aa7ae8a61)
* r17376: Fix bug #3985 - ensure in msdfs we check for ourJeremy Allison2007-10-101-14/+8
| | | | | | | | netbios aliases. Reported by Björn Jacke <bjoern@j3e.de>. Probably needs to be in 3.0.23b (if Björn approves of the fix). Jeremy. (This used to be commit e9e711fe37d9aec28b329dbfe2ad3ebfc1771825)
* r17375: If a field containts only whitespace, we need to do base64 as well.Volker Lendecke2007-10-101-2/+20
| | | | | Volker (This used to be commit 795d06f427061536c6e3a3eb5b5d60a27f5ec70d)
* r17374: Get rid of a silly "System User" default for "description", also ↵Volker Lendecke2007-10-101-5/+9
| | | | | | | | | fetch the sambaProfilePath. Volker (This used to be commit 61e7ed593b944fa14330729e585d1f790af93a7b)
* r17367: Reverting the ab code. Note I'm not saying thisJeremy Allison2007-10-107-1444/+3
| | | | | | | | | code is wrong or bad or anything, just that it needs to be discussed & reviewed on the samba-technical list before we add a platform-specific NFSv4 mapping. That way lies a lot of future pain :-). Jeremy. (This used to be commit 330899ec30ffceb798e3a8362d20e103e20b2897)
* r17366: Save the logon script path from the info3 in the PAM session allowingGünther Deschner2007-10-102-4/+19
| | | | | | | other PAM modules to pick it up from there. Guenther (This used to be commit b3ac5a586ba37b1122b0dc941dfee648fc4fa6d5)
* r17365: Fix memleak.Günther Deschner2007-10-101-1/+4
| | | | | Guenther (This used to be commit 62a8e0b08919e71c6a575ce6d89d8a4a09acbd87)
* r17364: Another NT4 join bug: The idealx tools set the primary group sid, ↵Volker Lendecke2007-10-101-15/+12
| | | | | | | | | | | | | and if we do an update_sam_account later on, we want to also set it using the delete/add method. As the idealx tools use the replace method, they don't care about what has been in there before. Jerry, this is a likely 3.0.23b candidate. Not merging, it's your call :-) Volker (This used to be commit f002a3633892fc040f0a6d076723c660bb82a41a)
* r17363: Some C++ warningsVolker Lendecke2007-10-109-32/+45
| | | | (This used to be commit fd82f185a2e0f94bfb75f4eee072556ad94bf27d)
* r17358: Re-add JFS2 NFS4 ACLs support, move readme for it into AIX-specific ↵Alexander Bokovoy2007-10-107-3/+1362
| | | | | | examples directory. (This used to be commit c085355c323c65ee782516859eed8a76b53e6035)
* r17356: Also transfer the sambaHomePath attribute.Volker Lendecke2007-10-101-0/+4
| | | | | Volker (This used to be commit 49ad0d4d0eea85ef133e1a5c055305e06de109de)
* r17354: Revert -r 17353 per Volker request while gpfs compatibility layer ↵Alexander Bokovoy2007-10-107-2000/+3
| | | | | | code will be released. (This used to be commit 5b1db0151461af18d994359e86c649922fc6de65)
* r17353: Add support for JFS2 NFS4/AIXC and GPFS acls based on NFSv4 ACLs.Alexander Bokovoy2007-10-108-3/+2082
| | | | (This used to be commit 72312cb2e255301f978455a559461ad83b13b6cb)
* r17348: Some C++ warningsVolker Lendecke2007-10-108-23/+29
| | | | (This used to be commit ae6b9b34e59167e3958bfdb9997fa25340b9a0a3)
* r17347: Some C++ warnings -- 271 leftVolker Lendecke2007-10-103-71/+83
| | | | (This used to be commit 641dac4f85c0e00484d90726bea1a4cb58c8235c)
* r17346: Add optimisation vl needs for the cluster code whereJeremy Allison2007-10-104-12/+42
| | | | | | | we don't get the chainlock when getting the byte range lock record read-only. Jeremy. (This used to be commit fcd798ca0c1b76adb2bcda4a99c40c7aacb0addb)
* r17345: Some C++ warningsVolker Lendecke2007-10-104-4/+5
| | | | (This used to be commit 21c8fa2fc8bfd35d203b089ff61efc7c292b4dc0)
* r17338: Add support for multiple shares test inspired by Samba 4 torture's ↵Alexander Bokovoy2007-10-105-51/+160
| | | | | | | --unclist option. Triggered by -b sharelist_file option. Based on Peter Samogyi's work. I'm not sure what concept for fstring replacement is currently in place though (talloc-ed strings? or it was for pstring only?) (This used to be commit c9f8fafad698c5bc75df86ee8b611104d3fb65bc)
* r17335: Some more fixes to net rpc vampire ldif. Still not good though :-(Volker Lendecke2007-10-101-8/+14
| | | | | Volker (This used to be commit e947f4bd91fcfa0dd27d12e8188ada381da541ff)
* r17334: Some C++ warningsVolker Lendecke2007-10-1012-24/+26
| | | | (This used to be commit 8ae7ed1f3cecbb5285313d17b5f9511e2e622f0b)
* r17333: Some C++ warningsVolker Lendecke2007-10-1014-36/+47
| | | | (This used to be commit be9aaffdaccae06c8c035eaf31862e34b7cfbe38)
* r17316: More C++ warnings -- 456 leftVolker Lendecke2007-10-1019-58/+67
| | | | (This used to be commit 1e4ee728df7eeafc1b4d533240acb032f73b4f5c)
* r17315: Make talloc and tdb C++-warning-free. Would this also be interesting ↵Volker Lendecke2007-10-107-31/+41
| | | | | | | | | in talloc and tdb "upstream"? Volker (This used to be commit 68c43191c8aa4faa9801e0ab084a216ceaf4379d)
* r17314: Optimisation for POSIX locking. If we're downgradingJeremy Allison2007-10-104-34/+77
| | | | | | | | a POSIX lock (applying a read-lock) and we overlap pending read locks then send them an unlock message, we may have allowed them to proceed. Jeremy. (This used to be commit a7a0b6ba50f4cf7c5a0a29809fdff9e1266a29e7)
* r17313: Non-Ascii attribute values need to be encoded as base64, with an ↵Volker Lendecke2007-10-101-15/+60
| | | | | | | | | | | | | attribute name attr:: instead of attr: German domains tend to have umlauts in group names. More to come tomorrow. Volker (This used to be commit 94cdd5d64cfaa5228209eebbb76244da0bf4b518)
* r17312: Do some reformatting on net rpc samsync ldif. Not doing this checkin ↵Volker Lendecke2007-10-101-135/+152
| | | | | | | | | | easily, as this puts me into svn blame in places I'm not sure I want my name to show up.... Volker (This used to be commit d00e73c49b5227db61d41a017eb9b71d9e7e2620)
* r17307: Add datarootdir setting (required for newer autoconfs)Jelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 86687b804a60973883965700e755686e7d7d24f3)
* r17296: Replace the understandable parts of the quotaJeremy Allison2007-10-101-17/+13
| | | | | | | code with become_root_uid_only()/unbecome_root_uid_only() pairs. This code needs working on..... Jeremy. (This used to be commit 0661d4e26614180636bc57de0c48adf8b9ce7a21)
* r17295: Back out the become_root_uid_only change on the POSIXJeremy Allison2007-10-102-13/+12
| | | | | | | | | acls code. I'm pretty sure this was safe, but become_root() does other things to the token stack that become_root_uid_only() does not, and as we're going into a vfs redirectred function I decided it wasn't safe for now. Jeremy. (This used to be commit b3e0f45488595aa96c852dab8e1349631a85dded)
* r17294: Make the code a little cleaner. Instead of using the twoJeremy Allison2007-10-103-22/+45
| | | | | | | | | | | | | | calls make it : become_root_uid_only() operation unbecome_root_uid_only() saving errno across the second call. Most of our internal change calls can be replaced with these simple calls. Jeremy (This used to be commit 4143aa83c029848d8ec741d9218b3fa6e3fd28dd)
* r17293: After the results from the cluster tests in Germany,Jeremy Allison2007-10-1011-45/+32
| | | | | | | | | | | | | | | | | | | | | | | | | fix the messaging code to call the efficient calls : save_re_uid() set_effective_uid(0); messaging_op restore_re_uid(); instead of using heavyweight become_root()/unbecome_root() pairs around all messaging code. Fixup the messaging code to ensure sec_init() is called (only once) so that non-root processes still work when sending messages. This is a lighter weight solution to become_root()/unbecome_root() (which swaps all the supplemental groups) and should be more efficient. I will migrate all server code over to using this (a similar technique should be used in the passdb backend where needed). Jeremy. (This used to be commit 4ace291278d9a44f5c577bdd3b282c1231e543df)
* r17292: Try and fix bug #3967 - signing problems on transJeremy Allison2007-10-102-43/+127
| | | | | | | | calls introduced by signing code simplification. Please test if you've seen signing problems with 3.0.23a. Jeremy. (This used to be commit f462daf02c12cfba634f92e681eb23a09e7d0acf)
* r17291: Fix memory leaks on early exit path.Jeremy Allison2007-10-101-1/+5
| | | | | Jeremy. (This used to be commit deaac5bd463e5b8fd0b9915b553fdac3a4271293)
* r17279: conn->cnum is the tid we've given to the client. This has nothing to ↵Volker Lendecke2007-10-101-6/+6
| | | | | | | | | | | do with our internal share number. Funny that it worked at all :-) Volker (This used to be commit afa6e9094604afe1ef929cd936fbfa07b5473fd2)
* r17276: Don't change the POSIX lock ref count if posix locking = no.Jeremy Allison2007-10-101-2/+2
| | | | | Jeremy. (This used to be commit 42dec2192c1261090f2fac7a123c384f5c133587)
* r17271: Fix a regression in the ldapsam uri syntax.Gerald Carter2007-10-101-7/+12
| | | | | Allow multiple LDAP URIs to be grouped by "" (This used to be commit 21d69dcb3c5361f94d15b2d186e1aae6e246a24e)
* r17262: After messages from Metze and traces from Karolin Seeger,Jeremy Allison2007-10-101-5/+1
| | | | | | | turns out that EDQUOTA must map to NT_STATUS_DISK_FULL for Windows apps to work correctly. My mistake. Jeremy. (This used to be commit de1e3f7a7ae9e8a41b45130e2cdfc22f43cf53b5)
* r17260: remove extra ;SAMBA_3_0_23/source/utils/netlookup.cGerald Carter2007-10-101-1/+1
| | | | (This used to be commit c152d20e9073eb741047cc4b5f8e8086e2bc9ddd)
* r17258: Cleanup the 'net ads help join' output and document createupnGerald Carter2007-10-101-35/+46
| | | | | and createcomputer options (This used to be commit 87be77bf35635fc925e1be36073571f8c6ec3e81)
* r17254: Simple flattening of an if-statement, no logic change.Volker Lendecke2007-10-101-21/+27
| | | | | | | Jeremy, I'm sure you will look at this nevertheless :-) Volker (This used to be commit 3ef34468b55771b6f6b54454fa6c9decc183c565)
* r17249: Ensure we only set the FILE_WRITE_DATA on O_TRUNCJeremy Allison2007-10-101-3/+0
| | | | | | in one place. Jeremy. (This used to be commit f326bae3e269046b6f087626240cddbb5dafb0e4)
* r17248: Ensure we definately add the WRITE_DATA on O_TRUNC.Jeremy Allison2007-10-101-3/+4
| | | | | Jeremy. (This used to be commit 8eed82d5d5ba34cc0a6b99b9d0df45eec5f788fa)
* r17247: When we map generic to specific we need to rememberJeremy Allison2007-10-101-2/+5
| | | | | | | | to copy over the copy of the access_mask, open_access_mask. Jerry - this is a definate fix for a 3.0.23b and should also be on the patches page. CIFSFS breaks without this. Jeremy. (This used to be commit d11e71ebcccf6907f2404a04aa6bf61b12ab2709)
* r17246: BUG 3964: lower case username prior to getpwnam() call in smbpasswdGerald Carter2007-10-101-1/+5
| | | | (This used to be commit dc4fec1f7d196cf7e18d4dd58149853011380ef9)
* r17245: Second part of fix for #3962. Don't do a doubleJeremy Allison2007-10-101-14/+8
| | | | | | | free in the infolevel2 case. Free both queue and NT_PRINTER_INFO_LEVEL in the same place. Jeremy. (This used to be commit 6ac3a4ce78f42949013ae7bd675ff292fb0383ca)
* r17244: There were several error paths where NT_PRINTER_INFO_LEVELJeremy Allison2007-10-101-6/+17
| | | | | | | | | wasn't being freed - also one enum jobs case where the NT_PRINTER_INFO_LEVEL and queue weren't being freed. Strange that Coverity or Klokwork didn't pick these up. Hopefully will fix #3962. Jeremy. (This used to be commit bb264123872bfec42ad85ec0c8afa3a8c7d1811e)