[SCM] Samba Shared Repository - branch v3-6-test updated

Karolin Seeger kseeger at samba.org
Tue Feb 21 12:48:45 MST 2012


The branch, v3-6-test has been updated
       via  57ff85c s3: Fix bug 8567 -- segfault in dom_sid_compare
      from  271a1f4 s3: Add SERVERID_UNIQUE_ID_NOT_TO_VERIFY, bug 8760

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -----------------------------------------------------------------
commit 57ff85c0d785be074d2c62bb979fbd104db6edfe
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.

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

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 7ce5edc..9316f40 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -3037,6 +3037,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