summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * r20498: Two 64-bit warningsVolker Lendecke2007-01-032-3/+5
| |
| * r20496: Some changes to make Samba3 the RAW-OPEN test. Checking in to both ↵Volker Lendecke2007-01-032-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3_0 and 3_0_24 because I was explicitly asked to, although this needs close review. Jeremy, I'm sure you will check this thoroughly :-) In reply_open_and_X the separate "size" variable kills the calculation of the SPARSE flag returned to the client in the attrib field. In getpathinfo we do it correctly, and RAW-OPEN (correctly) complains about the difference. Add the "set the write time" to mknew and create. For trans2open we were missing the "ofun == 0" -> NT_STATUS_OBJECT_NAME_COLLISION case, and we dropped the status returned in favor of ACCESS_DENIED once too many. Last change is a fix to trans2open: We were returning the attributes given by the client, not the attributes of the new file. Volker
| * r20489: Missed patch ofthe forest_name patch for lookupnameGerald Carter2007-01-021-4/+8
| |
| * r20488: When joined to a child domain in a multi-domain/single domain tree,Gerald Carter2007-01-023-6/+89
| | | | | | | | | | | | | | the child domain cannot always resolve SIDs in sibling domains. Windows tries to contact a DC in its own domain and then the root domain in the forest. This async changes makes winbindd's name2sid() call do the same.
| * r20487: Remove the unused dn2ad_canonical() callGerald Carter2007-01-022-19/+0
| |
| * r20486: Always upper case the "host/<sAMAccoutnName>" entry in the keytab fileGerald Carter2007-01-021-1/+6
| | | | | | | | so apps will know which one to look for,
| * r20485: Add select with a 10 second timeout when reading DSN update responses.Gerald Carter2007-01-021-5/+19
| |
| * r20482: Make us survive and activate RAW-CLOSEVolker Lendecke2007-01-022-2/+2
| |
| * r20479: Both remaining calls of can_delete called it with ↵Volker Lendecke2007-01-021-26/+19
| | | | | | | | | | | | | | | | check_is_at_open==False, remove that parameter. Volker
| * r20478: Make us survive & activate RAW-UNLINKVolker Lendecke2007-01-023-2/+5
| |
| * r20470: Jeremy, another one to check:Volker Lendecke2007-01-022-23/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The only error path of can_delete() that we're interested in ntcreate&x is the one of can_delete_file_in_directory(), so call that directly. The only other one where we might get a NT_STATUS_ACCESS_DENIED is from the lstat in can_delete, but this is covered later in the open_directory and open_file_ntcreate calls. open_directory does a stat() in the open case which also covers the (potential) symlink, and open_file_ntcreate does the open(2) itself, so this should also work. This makes can_delete() static to reply.c. Volker
| * r20465: Get rid of a redundant !NT_STATUS_IS_OK(status)Volker Lendecke2007-01-021-4/+4
| |
| * r20454: Get rid of a bogus variable that was only assigned but never read.Volker Lendecke2007-01-011-4/+0
| | | | | | | | | | | | | | | | Jeremy, please check this. Thanks, Volker
| * r20451: Survive the first of the filter-tests (mkdir).Volker Lendecke2007-01-015-24/+41
| | | | | | | | | | | | Add lots of TODOs :-) Volker
| * r20448: Happy New Year!Stefan Metzmacher2007-01-011-1/+1
| | | | | | | | metze
| * r20443: Fix a compiler warningVolker Lendecke2006-12-311-1/+2
| |
| * r20442: Slight rewrite of the change notify infrastructure. This now ↵Volker Lendecke2006-12-316-112/+245
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | survives the first of the raw-notify subtests, the one-level test_notify_dir without any flags around yet. The tricky part was getting the data structures right, I hope the next tests don't let that fall over. fsp->notify is now by default NULL, meaning that nobody has issued a changenotify call. This means nobody is interested in changes for this directory. If that has happened, notify_change_buf collects the changes if no current request is outstanding, and it collects the requests if no change has happened since the last request. Happy New Year, somewhere on this planet it's already 2007 :-) Volker P.S: Jeremy, there's a question for you in smbd/files.c line 367.
| * r20434: Revert an accidential commitVolker Lendecke2006-12-311-3/+0
| |
| * r20433: Work in progress: Survive more of RAW-NOTIFY.Volker Lendecke2006-12-315-43/+126
| | | | | | | | | | | | | | | | | | | | | | call_nt_transact_notify_change() is now sync if there are changes around. A notify_message does a direct reply from within the message, so process_pending_change_notify_queue is not needed anymore for samba-generated events. Next step is to restructure the kernel-mechanisms to generate messages. Volker
| * r20432: Apply some constVolker Lendecke2006-12-311-1/+1
| |
| * r20429: Restructure the libuuid API tests to handle the case where libuuidJames Peach2006-12-312-40/+48
| | | | | | | | | | | | is (effectively) in libc. Convert AC_LIBTESTFUNC to use the mystically undocumented m4_ifval, which fixes some quoting problems when providing shell code for the if-true and if-false branches.
| * r20428: Rename dns_open. This conflicts with the dns_open symbol inJames Peach2006-12-311-2/+2
| | | | | | | | libSystem on Mac OS X.
| * r20427: Rename dnp_open. This conflicts with the dns_open symbol inJames Peach2006-12-313-3/+3
| | | | | | | | libSystem on Mac OS X.
| * r20424: No, we do not have to do that here :-)Volker Lendecke2006-12-301-13/+1
| |
| * r20412: Placeholder to remind me to write a torture testJeremy Allison2006-12-301-0/+7
| | | | | | | | | | for this error code. Jeremy.
| * r20411: Fix originally from SATOH Fumiyasu (slightlyJeremy Allison2006-12-291-0/+12
| | | | | | | | | | | | modified). Ensure "hide unXXX" parameters don't hide MSDFS links. Bug #3319. Jeremy.
| * r20403: Cleaning out my Samba 3.0 tree:Andrew Bartlett2006-12-292-53/+0
| | | | | | | | | | | | | | | | | | As discussed with jerry at the CIFS conf: overriding the administrator's wishes from the krb5.conf has only every given me segfaults. We suggest leaving this up to the defaults from the libraries anyway. Andrew Bartlett
| * r20402: Fix spelling: samba bug #4292 debian #402392Andrew Bartlett2006-12-291-1/+1
| |
| * r20394: This is a *VERY* early start of my work on notify.Volker Lendecke2006-12-288-25/+409
| | | | | | | | | | | | | | | | | | Checking in because Jeremy was bugging me. Potentially this becomes quite intrusive, I'm not sure if I should open a temporary branch for this. Jeremy, Jerry, do you think 3_0 is the right place for this? Volker
| * r20393: Debug level 1 is a bit excessive hereVolker Lendecke2006-12-281-1/+1
| |
| * r20389: this needs to be after AC_LIBREPLACE_BROKEN_CHECKS :-)Stefan Metzmacher2006-12-281-3/+3
| | | | | | | | metze
| * r20388: add the library that contains dlopen to the global LIBS as it was beforeStefan Metzmacher2006-12-281-0/+3
| | | | | | | | metze
| * r20386: remove unneeded dlopen related configure checks and includesStefan Metzmacher2006-12-282-13/+2
| | | | | | | | | | | | | | | | this is done by libreplace... this hopefully fixes the build on HPUX 11.00 metze
| * r20385: merge from samba4:Stefan Metzmacher2006-12-281-5/+7
| | | | | | | | | | | | | | only try to find dlfcn.h if the dlopen symbol was found, it hopefully fixes systems where dlfcn.h but no library with dlopen metze
| * r20372: Make NTrename the same as SMBmv w.r.t. wildcards.Jeremy Allison2006-12-281-6/+12
| | | | | | | | Jeremy.
| * r20371: In renames (via SMBmv) both src and dest can containJeremy Allison2006-12-281-4/+5
| | | | | | | | | | | | | | wcards. I had forgotten this and had refused to allow dest to contain wcards. We now pass all the normal Samba4 smbtorture RAW-RENAME tests. Jeremy
| * r20370: Now we've gone to the trouble of getting an NT statusJeremy Allison2006-12-281-1/+1
| | | | | | | | | | | | from open_file_ntcreate make sure we return it on rename error. Jeremy.
| * r20368: Fix valgrind report of uninitialized memory Jeremy Allison2006-12-271-1/+12
| | | | | | | | | | | | being returned (false positive). Up debug level on "open_directory" message. Jeremy.
| * r20363: Fix any possible valgrind errors in srvstr_get_XX or srvstr_pull_XXJeremy Allison2006-12-272-18/+31
| | | | | | | | | | | | | | by ensuring we pass in a valid src_len (or zero when appropriate). Volker is correct in that this is a *horrible* interface and he is now free to generally clean it up everywhere :-). Go for it Volker ! Jeremy.
| * r20362: Fix valgrind issues where we may read paramsJeremy Allison2006-12-271-17/+41
| | | | | | | | | | before checking length. Found by Volker. Jeremy.
| * r20361: Prevent strnlen_w reading beyond max. ValgrindJeremy Allison2006-12-271-1/+1
| | | | | | | | | | found by Volker. Jeremy
| * r20356: Consolidate the calls to parent_dirname() per open to one.Volker Lendecke2006-12-275-56/+80
| | | | | | | | | | | | | | This involved passing the dirname as argument to a few routines instead of calling parent_dirname() deep down. Volker
| * r20355: Fix some C++ warningsVolker Lendecke2006-12-272-3/+3
| |
| * r20345: Simplify call_nt_transact_create by using tmp_talloc_ctx()Volker Lendecke2006-12-241-14/+2
| |
| * r20344: Move the calls to inherit_access_acls and change_owner_to_parent ↵Volker Lendecke2006-12-241-14/+16
| | | | | | | | | | | | | | | | together. Jeremy, I'm 100% sure you watch me closely here, I count on you :-) Volker
| * r20343: Split change_owner_to_parent fd-based (for file opens) and a ↵Volker Lendecke2006-12-241-73/+83
| | | | | | | | | | | | | | | | name-based (for directory opens) routines. Volker
| * r20342: Move the lstat into mkdir_internal, for the FILE_OPEN case in ↵Volker Lendecke2006-12-241-18/+30
| | | | | | | | | | | | | | | | open_directory we want to follow symlinks. Volker
| * r20340: Join vfs_MkDir to its only callerVolker Lendecke2006-12-242-38/+25
| |
| * r20339: Make mkdir_internal static to open.cVolker Lendecke2006-12-243-52/+50
| |
| * r20338: Restructure open_directory a bit. This gets rid of a race condition ↵Volker Lendecke2006-12-243-54/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | regarding error messages: We relied upon a stat that a directory did not exist to later on then do the mkdir or not. This does the mkdir directly and copes with a potential error. The second one is more important: It's possible with Samba 3 to do a ntcreate&x with NTCREATEX_OPTIONS_DIRECTORY and we happily do a NT_STATUS_OK. Also move up the use_nt_status() logic a bit. I think this does not belong into the core routines, the smb server as such should take care of it. Jeremy, do you think this should go to 3.0.24? I'll update samba4torture when the build farm has picked up this checkin. Volker