[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Mon Feb 20 14:37:02 MST 2012


The branch, master has been updated
       via  0528cb5 s3: Fix bug 8567 -- segfault in dom_sid_compare
      from  9d66ad8 s4:torture:smb2: invalidate the handle after the connection has been killed

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 0528cb5f3a15b72dcb34ece21a3ffb3e7b8d6eb9
Author: Volker Lendecke <vl at samba.org>
Date:   Sun Feb 19 12:49:55 2012 +0100

    s3: Fix bug 8567 -- segfault in dom_sid_compare
    
    The underlying problem was that with ldapsam:trusted we require the
    a group mapping for the primary group of every user, including root.
    
    Autobuild-User: Volker Lendecke <vl at samba.org>
    Autobuild-Date: Mon Feb 20 22:36:23 CET 2012 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 source3/passdb/pdb_ldap.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index 7c16810..04541e8 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -3027,6 +3027,7 @@ static NTSTATUS ldapsam_enum_group_memberships(struct pdb_methods *methods,
 	if (dom_sid_compare(&global_sid_NULL, &(*pp_sids)[0]) == 0) {
 		DEBUG(3, ("primary group of [%s] not found\n",
 			  pdb_get_username(user)));
+		ret = NT_STATUS_INTERNAL_DB_CORRUPTION;
 		goto done;
 	}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list