[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-2105-gf5e9e19

Günther Deschner gd at samba.org
Sun Jun 7 09:25:50 GMT 2009


The branch, master has been updated
       via  f5e9e1954c08cc7ee73477bc626cdb09df1d0284 (commit)
      from  fbb1e990ab3915956217c2747a983e9ae0469fd3 (commit)

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


- Log -----------------------------------------------------------------
commit f5e9e1954c08cc7ee73477bc626cdb09df1d0284
Author: Günther Deschner <gd at samba.org>
Date:   Sun Jun 7 11:23:09 2009 +0200

    s3-groupdb: fix enum_aliasmem in ldb branch.
    
    It is totally valid to have an alias with no members.
    
    Tridge, please check.
    
    Found by RPC-SAMR torture test.
    
    Guenther

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

Summary of changes:
 source3/groupdb/mapping_ldb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/groupdb/mapping_ldb.c b/source3/groupdb/mapping_ldb.c
index 3fbc182..cc06282 100644
--- a/source3/groupdb/mapping_ldb.c
+++ b/source3/groupdb/mapping_ldb.c
@@ -523,7 +523,7 @@ static NTSTATUS enum_aliasmem(const DOM_SID *alias, DOM_SID **sids, size_t *num)
 	el = ldb_msg_find_element(res->msgs[0], "member");
 	if (el == NULL) {
 		talloc_free(dn);
-		return NT_STATUS_INTERNAL_DB_CORRUPTION;
+		return NT_STATUS_OK;
 	}
 	
 	for (i=0;i<el->num_values;i++) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list