summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
| * r20336: Fix some memleaks in trans2open and simplify trans2mkdir a bit: We ↵Volker Lendecke2006-12-231-21/+5
| | | | | | | | | | | | | | | | now have tmp_talloc_ctx(). Volker
| * r20335: Port oplock return logic from ntcreate&x to NT_TRANSACT_CREATE. ↵Volker Lendecke2006-12-231-2/+6
| | | | | | | | | | | | | | | | Fixes parts of raw-open. Volker
| * r20334: Activate RAW-MKDIRVolker Lendecke2006-12-231-1/+1
| |
| * r20333: Fix a couple of Coverity errors in one run, this was a potential ↵Volker Lendecke2006-12-231-5/+8
| | | | | | | | NULL dereference
| * 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.
| * r20313: Make trans2_mkdir also go through open_directory for all the fancy ↵Volker Lendecke2006-12-211-10/+18
| | | | | | | | | | | | | | | | | | | | | | inherit_acl stuff & friends. Survives raw-mkdir. I'll activate that tomorrow when all build farm machines have picked up the changed samba4 torture test. Volker
| * 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.
| * r20290: Remove unused callSimo Sorce2006-12-201-9/+1
| |
| * r20289: IDMAP is part of winbind but not the main process.Simo Sorce2006-12-203-36/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | Make sure we route all request to remote DCs via the main process so that IDMAP can correctly reuse DC connections and use the async interface. This fixes also idmap_nss so that it is able to resolve local group names (requires patch on the samba dc earlier committed to SAMBA_3_0 to make it resolve both the mapped and the unmapped name). Simo.
| * 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
| * r20271: Fix the buildVolker Lendecke2006-12-201-2/+2
| |
| * 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.
| * r20269: merge -r20264:20267 from SAMBA_3_0_24Herb Lewis2006-12-2022-4/+91
| | | | | | | | more no previous prototype warnings
| * r20268: merge -r 20261:20263 from samba_3_0_24Herb Lewis2006-12-203-0/+3
| | | | | | | | get rid of previous prototype warnings
| * r20264: Two lines above this we just checked if (fsp->is_directory) ...Volker Lendecke2006-12-191-1/+1
| |
| * r20261: merge 20260 from samba_3_0_24Herb Lewis2006-12-1937-34/+62
| | | | | | | | clean up a bunch of no previous prototype warnings
| * r20257: Hey, change_owner_to_parent is now static :-)Volker Lendecke2006-12-191-4/+4
| |
| * r20255: Activate BASE-SAMBA3ERROR in the build farmVolker Lendecke2006-12-191-1/+1
| |
| * r20254: The pam_chauthtok needs to go through the async interface as well. Günther Deschner2006-12-192-14/+27
| | | | | | | | | | | | This fixes pam password changes in the online case. Guenther
| * r20253: Reduce some code duplication, make reply_mkdir go through the same ↵Volker Lendecke2006-12-191-25/+10
| | | | | | | | | | | | | | | | | | | | | | code paths ncreate does. This is a bit slower (about 10-20%), because it goes touches the share mode db, but I think not having to call change_owner_to_parent and friends in fewer places outweighs this. And, mkdir is not the way current Windows boxes create directories, they do it via the ncreate call. Volker
| * r20252: Revert back to const, but I have a fleble feeling we should go the ↵Simo Sorce2006-12-191-1/+1
| | | | | | | | ther way.
| * r20250: If we've come from being globally offline weJeremy Allison2006-12-191-10/+26
| | | | | | | | | | | | | | | | don't have a check online event handler set. We need to add one once we're been asked to go back online as this is the only way to actually go into the online state. Doh ! :-). Jeremy.
| * r20249: Fail when parsing invalid options in _pam_parse.Günther Deschner2006-12-181-1/+2
| | | | | | | | Guenther
| * r20248: merge 20247 from samba_3_0_24Herb Lewis2006-12-181-1/+1
| | | | | | | | get rid of warning: value computed is not used