summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* r20759: Dummy checkin to let the build farm pick up the new smbtorture4Volker Lendecke2007-10-101-1/+2
| | | | (This used to be commit 14c88b560e5c8fd59b84333e92337805620ccd7c)
* r20745: Commit Finnish transalation of SWAT after reviewSimo Sorce2007-10-101-0/+611
| | | | (This used to be commit a971374117772ab0288faae6a33bce929ea117fa)
* r20744: Fix the build (I missed some chkpth -> checkpath renames).Jeremy Allison2007-10-103-4/+4
| | | | | Jeremy. (This used to be commit 89b7a0630de0bd95a56263b36d433b4e73517a70)
* r20743: Remove another BOOL ok from reply_getatr.Jeremy Allison2007-10-101-20/+15
| | | | | Jeremy. (This used to be commit c154f430710a4646fac42774817dfed7b936b087)
* r20742: Rename chkpth -> checkpath for sanity's sake :-).Jeremy Allison2007-10-104-40/+40
| | | | | | | Start removing unneeded "BOOL ok" from this reply.c (this logic is old, old, old..... :-). Jeremy. (This used to be commit 3d52268095c605a80dfcd371769198a332baa0a5)
* r20740: Get rid of some if-statementsVolker Lendecke2007-10-101-14/+10
| | | | (This used to be commit db93c1b98d5445071ad0af229afed1f11ab0a862)
* r20738: Remove unused variableVolker Lendecke2007-10-101-1/+0
| | | | (This used to be commit c16ce9ebaab0175e7f1dc13798d5599388fa35d6)
* r20725: Get rid of a bool passed down -- gd, please checkVolker Lendecke2007-10-102-4/+1
| | | | (This used to be commit 1ef910f423a9ec69af6abf5a4e2137e8a4e81755)
* r20724: Get closer to passing RAW-OPEN. If the client is usingJeremy Allison2007-10-101-12/+10
| | | | | | | create disposition of FILE_CREATE then there's no need to check can_delete_file_in_directory(). Jeremy. (This used to be commit eb32b60efc4c332295ff6fc7e5d575f4b40e8ff6)
* r20722: RAW-CHKPATH should now pass, build farm shouldJeremy Allison2007-10-101-4/+13
| | | | | | go back to normal. Sorry about that. Jeremy. (This used to be commit d4127034fb89185fe7464d57c9f56f7914da6141)
* r20721: Fix the search unix_convert error returns. Only openJeremy Allison2007-10-103-27/+37
| | | | | | to go... Jeremy. (This used to be commit 89f03a8db40365f99c6755ff19a4bfbf8d1bd316)
* r20720: Fix the chkpath problem, still looking at findfirst.Jeremy Allison2007-10-102-1/+13
| | | | | Jeremy. (This used to be commit c5be0082ef60cd041121a9c36f4af934cd60562d)
* r20718: Sync up the filename path parsing changes from SAMBA_3_0_24.Jeremy Allison2007-10-108-639/+408
| | | | | | | | The only difference between the two trees now w.r.t file serving are the changes to smbd/open.c in this branch I need to review. Jeremy. (This used to be commit f4474edf6a0c71001dbd01429ef70bafad6abd74)
* r20717: Merge sharemode patch from Mathias Dietz <MDIETZ@de.ibm.com>.Jim McDonough2007-10-101-4/+9
| | | | | | The patch fixes the behaviour of GPFS sharemodes when the access mask is no_access. (This used to be commit 799967c66879b4d6e28f1af6ba27c67f0b1deaeb)
* r20707: Clean up pdb_interface.c a bit -- patch from Michael Adam <ma@sernet.de>Volker Lendecke2007-10-101-23/+38
| | | | (This used to be commit d78c18a9fa494a2b3ef48db0abd987c740556e50)
* r20700: In the main processing loop we select() on the fam socket. If it ↵Volker Lendecke2007-10-101-0/+13
| | | | | | | | | | | | | | | | | fires, it might be possible that we hang in the receive_smb() although that socket is not the reason for the select() to return. This immediately reacts to the fam socket to become readable, and goes into the select loop again. This fixes delays in files showing up in Windows. Jeremy, James please review this and merge to 3_0_24 if appropriate. Thanks, Volker (This used to be commit c846153b2ed2f9aca82491888e391ccbe239e88a)
* r20699: This is an attempt to fix bug 4326.Volker Lendecke2007-10-101-1/+2
| | | | | | | | | | James, can you please confirm this and merge it to 3_0_24? For me it fixes the segfault. Thanks, Volker (This used to be commit a841b7659ba7b76b2da7993e1f4402aa0e11716f)
* r20695: Remove duplication of constants.Jeremy Allison2007-10-101-11/+2
| | | | | Jeremy. (This used to be commit 66cca893e1aa035fa0aa05c0d542848f084fac31)
* r20694: To get this right we need to do signed 64-bitJeremy Allison2007-10-101-7/+7
| | | | | | | | comparisons here, not unsigned as we're eventually casting into what it normall a signed 32 bit value. Guenther please check (but I think I'm right here). Jeremy. (This used to be commit 31f8e0edc0c3e76654728b2c204faa70830e1f1b)
* r20692: Fix bug found by Guenther -Jeremy Allison2007-10-101-1/+1
| | | | | | | | | | | | | | | | Just try to log on in offline mode without the fix: all accounts are expired, although they are set to never expire in the PAC/info3. NTTIME "Never" needs to get (time_t) -1. We were casting a uint64 to time_t before comparing, and we should have been doing it the other way around. Guenther please check this fixes things. Jeremy. (This used to be commit f4e898b6224fd82d9805da771ef6040065de7b12)
* r20690: fix a bug that causes smbd to 'hang' intermittently.Andrew Tridgell2007-10-101-32/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem occurs like this: 1) running smbd as a domain member without winbindd 2) client1 connects, during auth smbd-1 calls update_trustdom_cache() 3) smbd-1 takes the trustdom cache timestamp lock, then starts enumerate_domain_trusts 4) enumerate_domain_trusts hangs for some unknown reason 5) other clients connect, all block waiting for read lock on trustdom cache 6) samba is now hung The problem is the lock, and really its just trying to avoid a race where the cure is worse than the problem. A race in updating the trutdom cache is not a big issue. So I've just removed the lock. It is still an open question why enumerate_domain_trusts() can hang. Unfortunately I've not in a position to get a sniff at the site that is affected. I suspect a full fix will involve ensuring that all the rpc code paths have appropriate timeouts. (This used to be commit ab8d41053347a5b342ed5b59a0b0dd4983ca91e6)
* r20687: Implement grace logons for offline authentications in pam_winbind.Günther Deschner2007-10-103-21/+45
| | | | | | | | | | In case a user authenticated sucessfully and his password just expired while beeing disconnected, we should allow a user to logon (given a clear warning). We currently forced the user into a password change dialogue in that scenario; this did not make much sense while offline. Guenther (This used to be commit 668b278653acfc4de7807834988f7af557e608a5)
* r20674: Regenerate NDR parsers after pidl changes. This should fix a couple ofJelmer Vernooij2007-10-108-108/+66
| | | | | coverity warnings. (This used to be commit 5f86d006debd880ec35db4ebe7db0663c5cb220f)
* r20668: Also do not install the smbumount man page if we don't build smbumount.Lars Müller2007-10-101-1/+1
| | | | (This used to be commit 82ce272b2464f06e8bcbed6452621daa05e12b5d)
* r20666: Also do not install the smbmnt man page if SMBMOUNT_PROGS is not set.Lars Müller2007-10-101-1/+1
| | | | (This used to be commit aa122be8f7a33ebceeb43e4f0c5362047560b199)
* r20664: Set the environment variable _before_ calling the shell.Lars Müller2007-10-101-1/+1
| | | | (This used to be commit 9cecd62654d22b47d938a44a8aed63c558d511ad)
* r20663: Do not install smbmount man page if we didn't called configureLars Müller2007-10-103-3/+6
| | | | | --with-smbmount. (This used to be commit ee12348cf1e93d0e75714f3883bfea6525797dc1)
* r20654: Fix from Karolin Seeger <ks@sernet.de>: Accept "forever", "off" and ↵Volker Lendecke2007-10-101-7/+15
| | | | | | | | | "never" as key words for -1 as policy values for net sam policy. Volker (This used to be commit b6347751d8f67dcaac5c1bcbc07f03073278f6fb)
* r20651: Fix "password expires soon" warning message for pam_winbind.Günther Deschner2007-10-101-12/+67
| | | | | | | | | We were incorrectly calculating the days until the password expires and we also need to look at the info3 pass_must_change_time for expiry calculation. Guenther (This used to be commit 22d79237127a064a934928d175182adecc6300de)
* r20644: Make some functions static, thanks to Michael Adam <ma@sernet.de> ↵Volker Lendecke2007-10-101-3/+3
| | | | | | for the hint. (This used to be commit f1f5d035db067b85e55b1c4009407b47dedcf975)
* r20636: Remove notify leftoverVolker Lendecke2007-10-101-1/+0
| | | | (This used to be commit a174b49173e7185abb89e605e667e64e8dd87454)
* r20635: Add placeholder to ensure we don't go into theJeremy Allison2007-10-101-0/+11
| | | | | | | | | | wcard unlink if bad_path was set. The error returned here is almost certainly incorrect and will need testing properly with smbtorture, but I don't want to forget about this path (yes Volker I know this is currently incorrect :-). Jeremy. (This used to be commit 06e20c287898d21e437ab117eb5eeeaf2420ba78)
* r20634: A *LOT* more work is necessary before touching notify remotely ↵Volker Lendecke2007-10-107-621/+38
| | | | | | | | | | starts to make sense. Until then, remove it from the tree to keep the diff between 3_0_24 and 3_0 small. Volker (This used to be commit f146a85e74c84e78a11e616a1cbeaeef4693a0e0)
* r20632: The extended RAW-SAMBA3BADPATH test led me to some wrong assumptions, inVolker Lendecke2007-10-101-53/+59
| | | | | | | | | particular the NT_STATUS_INVALID_PARAMETER thing was badly wrong. Remove the changes based on it. Using gentest is much more effective in this respect, but it will take a while to figure out the wildcard error handling of W2k3. Volker (This used to be commit 58b8a242a7f08c1292d24fc73df170dbcd68c10d)
* r20630: Fix some trivial memleaks.Günther Deschner2007-10-101-0/+3
| | | | | Guenther (This used to be commit 3bb94a081888eca69796b14057b551b078ee9a77)
* r20628: Looks bigger than it is. This is just re-indenting the if (dirname) ↵Volker Lendecke2007-10-101-40/+38
| | | | | | | | | that we've taken care of above. Volker (This used to be commit 5e1da363bb3f2675beb9fd9240301bb432e5239b)
* r20627: orig_name is not needed anymore, and slightly simplify logic by ↵Volker Lendecke2007-10-101-9/+8
| | | | | | | | | doing early returns. Volker (This used to be commit 614651c6a72742173de5fa8723403880acc37c09)
* r20626: Fix a memleak found by the IBM checker -- not on 3.0.24Volker Lendecke2007-10-101-0/+1
| | | | (This used to be commit 9d0a789e32e6a6501421edb25bc8197c9e06846d)
* r20619: bad_path is handled somewhere else, so can_delete does not need it ↵Volker Lendecke2007-10-101-11/+3
| | | | | | anymore (This used to be commit 1798987128be579a1a4574294a7c3094040ebaf2)
* r20618: Fix a bug in bad_path handling that also exists in 3.0.23: For ↵Volker Lendecke2007-10-101-0/+5
| | | | | | | | | | | | | | | | reply_unlink under Linux we returned NT_STATUS_NOT_A_DIRECTORY. This is because in the bad_path==True condition lstat(2) returns ENOTDIR and not ENOENT. Not sure if we want to necessarily replicate the INVALID_PARAMETER here, but this is what W2k3 does. Jeremy, I tried to call you, but you were not around. So I'll leave it up to you to merge this. Volker (This used to be commit b1edc3d053104204b966eed67d070ad5da40f17b)
* r20617: Do not notify if the delete failedVolker Lendecke2007-10-101-5/+7
| | | | (This used to be commit c86fbdf8cc8f6f17b23e647bd1f4714c6095b860)
* r20614: Dummy-checkin to trigger the buildVolker Lendecke2007-10-101-4/+5
| | | | (This used to be commit 7e444e1612fa49f7db4de3256e6c67025db28806)
* r20612: A checkin I've wanted to do for ages: For bad_path==False ↵Volker Lendecke2007-10-103-50/+21
| | | | | | | | | | set_bad_path_error is equivalent to UNIX_ERROR. Expand the last reference. Lets see if I can kill that as well :-) Volker (This used to be commit 794d5d38f19601bb5b30b965b41b844aacf1caeb)
* r20611: All but one callers to set_bad_path_error have had the ↵Volker Lendecke2007-10-103-15/+29
| | | | | | | | | bad_path==True argument being handled further up. Volker (This used to be commit 358673c36697a16aa87f9cebbace34abf16ed28e)
* r20610: Fix a Solaris warningVolker Lendecke2007-10-101-1/+1
| | | | (This used to be commit 60d7b349dbc12288a3da0486b571a1d83401d0b7)
* r20608: ENOENT->NT_STATUS_OBJECT_NAME_NOT_FOUND is covered in the standard ↵Volker Lendecke2007-10-101-6/+2
| | | | | | unix error mapping table (This used to be commit 816c19aaeb812a94fd5669174c9beec60ce1a73f)
* r20607: Next micro-step for reply_setatrVolker Lendecke2007-10-101-8/+6
| | | | (This used to be commit cea9a01434490fb8a17c3f12db7a092efda21186)
* r20606: bad_path == True has been covered further up in reply_setatr.Volker Lendecke2007-10-101-1/+2
| | | | | | | | | I'm checking in micro-steps to make them independently checkable. This code just very severely needs cleanup, but I don't want to break anything. So, be patient with me, please :-) Volker (This used to be commit c16775486baa89901f0d5126cb926c9e5a807743)
* r20605: Simplify logic in reply_setatr slightlyVolker Lendecke2007-10-101-4/+2
| | | | (This used to be commit f19db8f33ed3749f6b72ae3a4cee83574c606e88)
* r20604: Fix two memleaks, Coverity ID 337, merge to 3_0_24Volker Lendecke2007-10-101-0/+2
| | | | (This used to be commit 44f9d25a9026df29fcaae8723ef52b1d3101628b)