[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-3623-gb653d1b

Karolin Seeger kseeger at samba.org
Thu Jun 18 10:51:53 GMT 2009


The branch, v3-2-test has been updated
       via  b653d1b1186e1c43f1ad0a64d19ee2fc015594a6 (commit)
      from  a0626827c820cad082001ab76f1f7e37f1a7307b (commit)

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


- Log -----------------------------------------------------------------
commit b653d1b1186e1c43f1ad0a64d19ee2fc015594a6
Author: Günther Deschner <gd at samba.org>
Date:   Mon May 11 18:27:40 2009 +0200

    s3-lsa: Fix _lsa_LookupNames2() server implementation which always returned a NULL sid_array since 3.2.0.
    
    Found by torture test.
    
    This makes it possible to search for users while adding them to groups via
    windows usermanager.
    
    Fixes bug #6484.
    
    Guenther
    (cherry picked from commit 0cfe59f1b580371f445b50151ceae5aef02bf0c4)

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

Summary of changes:
 source/rpc_server/srv_lsa_nt.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/rpc_server/srv_lsa_nt.c b/source/rpc_server/srv_lsa_nt.c
index 697cc52..cf883bb 100644
--- a/source/rpc_server/srv_lsa_nt.c
+++ b/source/rpc_server/srv_lsa_nt.c
@@ -1092,6 +1092,7 @@ NTSTATUS _lsa_LookupNames2(pipes_struct *p,
 
 	status = _lsa_LookupNames(p, &q);
 
+	sid_array2->count = sid_array->count;
 	sid_array2->sids = TALLOC_ARRAY(p->mem_ctx, struct lsa_TranslatedSid2, sid_array->count);
 	if (!sid_array2->sids) {
 		return NT_STATUS_NO_MEMORY;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list