summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
| * r20811: fix commentStefan Metzmacher2007-01-151-1/+1
| | | | | | | | metze
| * r20796: Fix the same problem Jeremy has fixed (improper handling of deferred ↵Volker Lendecke2007-01-152-11/+15
| | | | | | | | | | | | | | | | | | | | opens) for delete_driver_files. Proper fix pending... :-) Jeremy, please check. Volker
| * r20789: merge from samba4:Stefan Metzmacher2007-01-152-12/+0
| | | | | | | | | | | | - remove the epoll configure checks from libreplace metze
| * r20781: Fix a couple of paths found by Volker where we weren'tJeremy Allison2007-01-142-1/+13
| | | | | | | | | | correctly handling deferred opens. Jeremy.
| * r20774: I thought I committed this before Xmas holidays ...Simo Sorce2007-01-1413-95/+146
| | | | | | | | | | | | | | | | | | This change is needed to make it possible to not expire caches in disconnected mode. Jerry, please can you look at this and confirm it is ok? Simo.
| * r20759: Dummy checkin to let the build farm pick up the new smbtorture4Volker Lendecke2007-01-141-1/+2
| |
| * r20745: Commit Finnish transalation of SWAT after reviewSimo Sorce2007-01-141-0/+611
| |
| * r20744: Fix the build (I missed some chkpth -> checkpath renames).Jeremy Allison2007-01-133-4/+4
| | | | | | | | Jeremy.
| * r20743: Remove another BOOL ok from reply_getatr.Jeremy Allison2007-01-131-20/+15
| | | | | | | | Jeremy.
| * r20742: Rename chkpth -> checkpath for sanity's sake :-).Jeremy Allison2007-01-134-40/+40
| | | | | | | | | | | | Start removing unneeded "BOOL ok" from this reply.c (this logic is old, old, old..... :-). Jeremy.
| * r20740: Get rid of some if-statementsVolker Lendecke2007-01-131-14/+10
| |
| * r20738: Remove unused variableVolker Lendecke2007-01-131-1/+0
| |
| * r20725: Get rid of a bool passed down -- gd, please checkVolker Lendecke2007-01-132-4/+1
| |
| * r20724: Get closer to passing RAW-OPEN. If the client is usingJeremy Allison2007-01-131-12/+10
| | | | | | | | | | | | create disposition of FILE_CREATE then there's no need to check can_delete_file_in_directory(). Jeremy.
| * r20722: RAW-CHKPATH should now pass, build farm shouldJeremy Allison2007-01-131-4/+13
| | | | | | | | | | go back to normal. Sorry about that. Jeremy.
| * r20721: Fix the search unix_convert error returns. Only openJeremy Allison2007-01-133-27/+37
| | | | | | | | | | to go... Jeremy.
| * r20720: Fix the chkpath problem, still looking at findfirst.Jeremy Allison2007-01-132-1/+13
| | | | | | | | Jeremy.
| * r20718: Sync up the filename path parsing changes from SAMBA_3_0_24.Jeremy Allison2007-01-128-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.
| * r20717: Merge sharemode patch from Mathias Dietz <MDIETZ@de.ibm.com>.Jim McDonough2007-01-121-4/+9
| | | | | | | | | | The patch fixes the behaviour of GPFS sharemodes when the access mask is no_access.
| * r20707: Clean up pdb_interface.c a bit -- patch from Michael Adam <ma@sernet.de>Volker Lendecke2007-01-121-23/+38
| |
| * r20700: In the main processing loop we select() on the fam socket. If it ↵Volker Lendecke2007-01-121-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
| * r20699: This is an attempt to fix bug 4326.Volker Lendecke2007-01-121-1/+2
| | | | | | | | | | | | | | | | | | James, can you please confirm this and merge it to 3_0_24? For me it fixes the segfault. Thanks, Volker
| * r20695: Remove duplication of constants.Jeremy Allison2007-01-121-11/+2
| | | | | | | | Jeremy.
| * r20694: To get this right we need to do signed 64-bitJeremy Allison2007-01-121-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.
| * r20692: Fix bug found by Guenther -Jeremy Allison2007-01-121-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.
| * r20690: fix a bug that causes smbd to 'hang' intermittently.Andrew Tridgell2007-01-111-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.
| * r20687: Implement grace logons for offline authentications in pam_winbind.Günther Deschner2007-01-113-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
| * r20674: Regenerate NDR parsers after pidl changes. This should fix a couple of Jelmer Vernooij2007-01-118-108/+66
| | | | | | | | coverity warnings.
| * r20668: Also do not install the smbumount man page if we don't build smbumount.Lars Müller2007-01-101-1/+1
| |
| * r20666: Also do not install the smbmnt man page if SMBMOUNT_PROGS is not set.Lars Müller2007-01-101-1/+1
| |
| * r20664: Set the environment variable _before_ calling the shell.Lars Müller2007-01-101-1/+1
| |
| * r20663: Do not install smbmount man page if we didn't called configureLars Müller2007-01-103-3/+6
| | | | | | | | --with-smbmount.
| * r20654: Fix from Karolin Seeger <ks@sernet.de>: Accept "forever", "off" and ↵Volker Lendecke2007-01-101-7/+15
| | | | | | | | | | | | | | | | "never" as key words for -1 as policy values for net sam policy. Volker
| * r20651: Fix "password expires soon" warning message for pam_winbind.Günther Deschner2007-01-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
| * r20644: Make some functions static, thanks to Michael Adam <ma@sernet.de> ↵Volker Lendecke2007-01-101-3/+3
| | | | | | | | for the hint.
| * r20636: Remove notify leftoverVolker Lendecke2007-01-091-1/+0
| |
| * r20635: Add placeholder to ensure we don't go into theJeremy Allison2007-01-091-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.
| * r20634: A *LOT* more work is necessary before touching notify remotely ↵Volker Lendecke2007-01-097-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
| * r20632: The extended RAW-SAMBA3BADPATH test led me to some wrong assumptions, inVolker Lendecke2007-01-091-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
| * r20630: Fix some trivial memleaks.Günther Deschner2007-01-091-0/+3
| | | | | | | | Guenther
| * r20628: Looks bigger than it is. This is just re-indenting the if (dirname) ↵Volker Lendecke2007-01-091-40/+38
| | | | | | | | | | | | | | | | that we've taken care of above. Volker
| * r20627: orig_name is not needed anymore, and slightly simplify logic by ↵Volker Lendecke2007-01-091-9/+8
| | | | | | | | | | | | | | | | doing early returns. Volker
| * r20626: Fix a memleak found by the IBM checker -- not on 3.0.24Volker Lendecke2007-01-091-0/+1
| |
| * r20619: bad_path is handled somewhere else, so can_delete does not need it ↵Volker Lendecke2007-01-081-11/+3
| | | | | | | | anymore
| * r20618: Fix a bug in bad_path handling that also exists in 3.0.23: For ↵Volker Lendecke2007-01-081-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
| * r20617: Do not notify if the delete failedVolker Lendecke2007-01-081-5/+7
| |
| * r20614: Dummy-checkin to trigger the buildVolker Lendecke2007-01-081-4/+5
| |
| * r20612: A checkin I've wanted to do for ages: For bad_path==False ↵Volker Lendecke2007-01-083-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
| * r20611: All but one callers to set_bad_path_error have had the ↵Volker Lendecke2007-01-083-15/+29
| | | | | | | | | | | | | | | | bad_path==True argument being handled further up. Volker
| * r20610: Fix a Solaris warningVolker Lendecke2007-01-081-1/+1
| |