summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * r20860: Adding some small tweaks. When we have no sitename, there is no need toGünther Deschner2007-01-172-20/+25
| | | | | | | | | | | | ask for the list of DCs twice. Guenther
| * r20857: Silence gives assent :-). Checking in the fix forJeremy Allison2007-01-179-65/+159
| | | | | | | | | | | | | | | | | | site support in a network where many DC's are down. I heard via Volker there is still a bug w.r.t the wrong site being chosen with trusted domains but we'll have to layer that fix on top of this. Gd - complain if this doesn't work for you. Jeremy.
| * r20851: To read account policies from LDAP we need root.Volker Lendecke2007-01-171-2/+12
| | | | | | | | Volker
| * r20844: Somewhat radical change - this may break the build (I willJeremy Allison2007-01-178-263/+317
| | | | | | | | | | | | | | | | | | | | | | | | watch carefully - so I'm doing it in one transaction so I can roll back). Change check_name(), reduce_name() and dptr_create() to return NTSTATUS. This helps a lot in error path processing and especially in reduce_name() allows us to ditch the flaky and error-prone saving of errno and return errors directly. Jeremy.
| * r20843: Get rid of last BOOL ok.Jeremy Allison2007-01-161-58/+59
| | | | | | | | Jeremy.
| * r20842: Only one more BOOL ok to go...Jeremy Allison2007-01-161-12/+6
| | | | | | | | Jeremy.
| * r20841: Remove more BOOL ok.Jeremy Allison2007-01-161-6/+6
| | | | | | | | Jeremy.
| * r20840: Keep removing the old BOOL ok logic.Jeremy Allison2007-01-161-5/+9
| | | | | | | | Jeremy.
| * r20838: Small fix from Jiri.Sasek@Sun.COM to fix nullJeremy Allison2007-01-161-2/+3
| | | | | | | | | | pointer deref. Jeremy
| * r20835: Janitor for Volker. Trying to keep the fileserver codeJeremy Allison2007-01-161-23/+41
| | | | | | | | | | as much in sync as possible. Jeremy.
| * r20821: merge from samba4:Stefan Metzmacher2007-01-152-2/+3
| | | | | | | | | | | | | | | | - include system/aio.h - use full prototype for main - use ifdef instead if metze
| * r20818: sync lib/replace with samba4Stefan Metzmacher2007-01-1512-40/+151
| | | | | | | | metze
| * r20812: merge from SAMBA_3_0:Stefan Metzmacher2007-01-151-1/+1
| | | | | | | | | | | | fix comment 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
| * r20790: 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.
| * 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.
| * r20741: Janitor for Volker, it's unused here as well :-).Jeremy Allison2007-01-131-1/+0
| | | | | | | | Jeremy.
| * r20740: Get rid of some if-statementsVolker Lendecke2007-01-131-14/+10
| |
| * 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.
| * r20719: Sync up the changes in the fileserver code between SAMBA_3_0.Jeremy Allison2007-01-125-54/+99
| | | | | | | | | | copy now returns NTSTATUS, part of close does the same. 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.
| * r20711: Merge Volker's fix for bug 4326.James Peach2007-01-121-1/+2
| | | | | | | | svn merge -r 20698:20699 branches/SAMBA_3_0
| * 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.
| * r20691: As discussed with tridge, merge the following fix :Jeremy Allison2007-01-121-32/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Jeremy. fix a bug that causes smbd to 'hang' intermittently. 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
| * r20673: Add in the wdel smbclient command that allows meJeremy Allison2007-01-111-8/+12
| | | | | | | | | | | | to hand test attribute and wildcard delete strings to try and understand the underlying method in w2k3. Jeremy.
| * r20672: Start working on the wildcard cases - put back thisJeremy Allison2007-01-111-0/+19
| | | | | | | | | | exception case. Jeremy.
| * r20671: This version of the pathname code passes volkersJeremy Allison2007-01-117-74/+61
| | | | | | | | | | modified gentest to 1000 iterations. Jeremy.
| * r20662: Strange semantics for normalizing non-wildcardJeremy Allison2007-01-101-0/+3
| | | | | | | | | | deletes. Jeremy.
| * r20660: 126 operations - getting close now....Jeremy Allison2007-01-101-1/+1
| | | | | | | | Jeremy.
| * r20658: Now up to passing 108 operations on gentest.....Jeremy Allison2007-01-101-5/+6
| | | | | | | | Jeremy.
| * r20655: After consulting with Volker, fix our pathnameJeremy Allison2007-01-1013-657/+450
| | | | | | | | | | | | | | | | | | | | handling. Gets rid of more code than it adds. I will port this to SAMBA_3_0 next. There are still some wrinkles with wildcard delete I am working on - for example a dirtype pattern of 0x8aa4 isn't handled correctly yet.... still looking at this. Jeremy.
| * 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.
| * 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.
| * r20632: The extended RAW-SAMBA3BADPATH test led me to some wrong assumptions, inVolker Lendecke2007-01-091-5/+0
| | | | | | | | | | | | | | | | 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
| * r20620: This is definately needed - not sure about mapping toJeremy Allison2007-01-081-0/+5
| | | | | | | | | | | | | | | | | | BAD_PARAMETER if unlink is a wildcard but wildcard unlinks are so rare in modern clients that doing what W2K3 does is probably ok. OS/2 is the only client that may care about this and hopefully we will get test coverage from our wonderful OS/2 test team on this ! :-). Jeremy.
| * r20615: Janitor for vl.... Please ensure all obvious fixesJeremy Allison2007-01-081-1/+1
| | | | | | | | | | go in both branches. Jeremy.
| * r20604: Fix two memleaks, Coverity ID 337, merge to 3_0_24Volker Lendecke2007-01-081-7/+9
| |
| * r20589: Re-add lost bad_path handling, sorry.Volker Lendecke2007-01-061-0/+4
| |