summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * r20528: This fix now naturally follows : (from VL).Jeremy Allison2007-01-041-26/+19
| | | | | | | | | | | | | | "Both remaining calls of can_delete called it with check_is_at_open==False, remove that parameter." Jeremy.
| * r20527: Reviewed Volker's unlink change :Jeremy Allison2007-01-043-2/+5
| | | | | | | | | | | | "Make us survive & activate RAW-UNLINK" Jeremy.
| * r20526: Working through code review of Volker's changes slowly....Jeremy Allison2007-01-042-23/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I agree with this one : "Jeremy, another one to check: 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" Jeremy.
| * r20512: Fix typo.Günther Deschner2007-01-031-1/+1
| | | | | | | | Guenther
| * r20503: And one more 64-bit warningVolker Lendecke2007-01-031-1/+1
| |
| * r20501: Check in config.h fix from Michael Adam <ma@sernet.de>Volker Lendecke2007-01-032-0/+9
| |
| * r20498: Two 64-bit warningsVolker Lendecke2007-01-031-2/+4
| |
| * 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
| * r20491: Janitor for Volker :Jeremy Allison2007-01-021-4/+4
| | | | | | | | | | "Get rid of a redundant !NT_STATUS_IS_OK(status)" Jeremy.
| * r20490: Janitor for Volker - Jeremy Allison2007-01-021-4/+0
| | | | | | | | | | | | "Get rid of a bogus variable that was only assigned but never read." Was used but is not now. Jeremy.
| * 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
| |
| * r20447: Happy New Year!Stefan Metzmacher2007-01-011-1/+1
| | | | | | | | metze
| * r20431: svn merge branches/SAMBA_3_0 -r 20426:20428 .James Peach2006-12-314-5/+5
| | | | | | | | | | Rename dns_open. This conflicts with the dns_open symbol in libSystem on Mac OS X.
| * r20430: svn merge branches/SAMBA_3_0 -r 20428:20429James Peach2006-12-312-40/+48
| | | | | | | | | | | | | | Restructure the libuuid API tests to handle the case where libuuid 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.
| * r20426: Janitor for Volker....Jeremy Allison2006-12-311-5/+8
| | | | | | | | | | | | Jeremy. "Fix a couple of Coverity errors in one run, this was a potential NULL dereference"
| * r20424: No, we do not have to do that here :-)Volker Lendecke2006-12-301-14/+1
| |
| * r20413: Merge Volker's open directory changes to 3.0.24.Jeremy Allison2006-12-309-297/+387
| | | | | | | | | | | | I think they're correct, modulo more testing of error codes. 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.
| * r20401: Fix spelling: samba bug #4292, debian #402392Andrew Bartlett2006-12-291-1/+1
| | | | | | | | Andrew Bartlett
| * r20390: merge from samba3:Stefan Metzmacher2006-12-281-0/+3
| | | | | | | | | | | | add LIBDL to the global LIBS var metze
| * r20387: merge from samba3:Stefan Metzmacher2006-12-282-13/+2
| | | | | | | | | | | | | | | | | | remove unneeded dlopen related configure checks and includes this is done by libreplace... this hopefully fixes the build on HPUX 11.00 metze
| * r20384: 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-272-2/+13
| | | | | | | | | | | | 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
| * r20337: Fix some memleaks in trans2open and simplify trans2mkdir a bit: We ↵Volker Lendecke2006-12-231-19/+4
| | | | | | | | | | | | | | | | now have tmp_talloc_ctx(). Volker
| * r20330: And here's the fix for the parent winbindd crashingJeremy Allison2006-12-231-0/+5
| | | | | | | | | | | | | | | | | | | | after it's child died unexpectedly whilst the parent was waiting for a reply. We need to clean up the request we're not going to service, plus we still need to call the continuation function with a "False" flag so it can clean things up. Still testing this, but I think I'm right. Jeremy
| * r20329: Fix a winbindd crash bug. If someone pullsJeremy Allison2006-12-231-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | the network cable out of the machine *exactly* after the init_dc_connect() call in cm_connect_sam() or cm_connect_lsa() call succeeded but before any of the other calls fail, and they have debug level 10 set in the log, then we'd crash due to dereferencing a now NULL pointer (conn->cli gets set to NULL when the init_dc_connect() call called from cm_get_schannel_dcinfo() fails). Yes, before you ask this *did* happen on a customer site :-). Jeremy.
| * r20324: since smbwrapper is no longer around, remove unused variablesHerb Lewis2006-12-222-5/+2
| |
| * r20312: Fix a memleakVolker Lendecke2006-12-211-1/+1
| |
| * r20310: We've checked for EA's and support for them further up already.Volker Lendecke2006-12-211-1/+1
| | | | | | | | Volker
| * r20304: Smaller fixes for pam_winbind:Günther Deschner2006-12-211-30/+65
| | | | | | | | | | | | | | * fail on invalid credential flags in pam_sm_setcred * parse config file for pam_sm_acct_mgmt and pam_sm_open_session Guenther
| * r20296: If we're going to overwrite krb5.confJeremy Allison2006-12-212-16/+31
| | | | | | | | | | only do it for our primary domain. Jeremy.
| * r20287: Allow a NULL sid when setting up the list of trusted domains.Gerald Carter2006-12-201-2/+7
| |
| * r20279: Fix winbind segfault in winbindd_getsidaliases.Günther Deschner2006-12-201-4/+15
| | | | | | | | | | | | | | Jeremy: sidstr formerly could be NULL (when num_aliases was 0), since we strdup here it needs to exist. Guenther
| * r20273: Map KRB5_KDCREP_SKEW to NT_STATUS_TIME_DIFFERENCE_AT_DC.Günther Deschner2006-12-201-0/+1
| | | | | | | | | | | | | | This gives much nicer error messages when failing to join due to clock skew. Guenther
| * r20270: Even with the dual daemon mode the parent winbinddJeremy Allison2006-12-202-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | still needs to contact the DC's for non async requests like enumerate users/groups etc. Now that online DC detection is tied to async events we must enable the processing of events in the main loop of winbindd. Finally got rid of the last hard coded domain->initialized = 1 code in init_child_recv() - now all domain->initialized = True gets done only in the connection manager code when either we're online and have spoken to the DC or are offline and we know we can't talk to the DC. Jeremy.
| * r20267: fix more no previous prototype warningsHerb Lewis2006-12-2018-1/+86
| |
| * r20266: fix more no previous prototype warnings - these functions were only ↵Herb Lewis2006-12-192-3/+3
| | | | | | | | | | | | referenced in the same file so I made them static
| * r20265: fix a couple more no previous prototype warningsHerb Lewis2006-12-193-1/+3
| |
| * r20264: Two lines above this we just checked if (fsp->is_directory) ...Volker Lendecke2006-12-191-1/+1
| |
| * r20263: one more no previous prototype warningHerb Lewis2006-12-191-0/+1
| |