summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
| * r20245: merge 20244 from samba_3_0_24Herb Lewis2006-12-185-12/+14
| | | | | | | | get rid of more nested extern declarations warnings
| * r20243: Make lookup_name resolve both the mapped and the real unix group nameSimo Sorce2006-12-181-7/+23
| |
| * r20242: these are not really const as we set them in the functionSimo Sorce2006-12-181-1/+1
| |
| * r20241: Slightly improve readability of the pam_vsyslog replacement function.Günther Deschner2006-12-181-6/+5
| | | | | | | | Guenther
| * r20240: Be a little more verbose about the credential flags when the debug flagGünther Deschner2006-12-181-2/+16
| | | | | | | | | | | | is set. Guenther
| * r20239: Parse the configfile for pam_sm_setcred as well Günther Deschner2006-12-181-1/+7
| | | | | | | | | | | | (e.g. to get the debug flag) Guenther
| * r20237: Replace exit_server with exit_server_cleanly where appropriate. AllJames Peach2006-12-1810-36/+37
| | | | | | | | | | send_smb failures should be clean exits. All times when we exit as a matter of policy should also be clean exits.
| * r20235: Don't use realloc directly.James Peach2006-12-181-1/+1
| |
| * r20229: Avoid a silly function call in mkdir_internal. None of the callers ↵Volker Lendecke2006-12-171-2/+1
| | | | | | | | | | | | | | | | look at errno, all go straight to ERROR_NT(status). Volker
| * r20228: Bring the calling conventions of inherit_access_acl and ↵Volker Lendecke2006-12-174-6/+13
| | | | | | | | | | | | | | | | change_owner_to_parent a bit closer together: Move the lp_inherit_perms() check into the callers. Volker
| * r20227: Simplify logic in vfs_MkDir() a bitVolker Lendecke2006-12-171-11/+15
| |
| * r20218: Same fix as r20217 -- can we consolidate that duplicated code a bit?Volker Lendecke2006-12-161-8/+16
| |
| * r20217: uid_t and gid_t are not necessarily 32 bit. In assignments we get an ↵Volker Lendecke2006-12-161-8/+12
| | | | | | | | | | | | | | | | | | | | automatic conversion, but not when we pass pointers down to other functions. Simo, please check. Volker
| * r20216: Fix fallback code.Simo Sorce2006-12-161-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A reversed check made it impossile to fallback to the Unix Domain mapping code. Also fix a potential use of a freed array. Jerry, my tests shows that this code now correctly handle the fallback to Unix Domain when our Domain member is asked for a mapped group that has a unix name different from the Windows name against a Samba DC and we do not use winbindd but share users/groups by other means (ldap / sync of passwd and group files) Immediate Fix would be to discuss if we should answer back when DOMAIN\unixgroup -> SID is asked for, in the case the unixgroup name is mapped to a different name. IE: DOMAIN\Domain Admins -> ntadmins Currently if we are asked for "DOMAIN\Domain Admins" we return the dom admins SID If we are asked for "DOMAIN\ntadmins we return "not found", but we may consider to return the Domain admins SID in this case too. Comments are welcome on this point! Long term fix I think is the unixinfo pipe and of course an idmap_unixinfo moudle. Simo.
| * r20215: Next step trying to fix the Solaris build.Volker Lendecke2006-12-162-3/+3
| | | | | | | | | | | | | | | | | | I think "anonimous" is correctly spelled "anonymous". The Solaris compile is referring to this as "anonymous" in line 814 of smbldap.c. Simo, please check. Thanks, Volker
| * r20214: Fix a type-punned warning. Simo, Jerry, please checkVolker Lendecke2006-12-161-1/+1
| |
| * r20212: Attempt to fix the Solaris buildVolker Lendecke2006-12-161-2/+4
| |
| * r20211: send_nt_replies does not need the inbuf argVolker Lendecke2006-12-161-32/+51
| |