[SCM] Samba Shared Repository - branch master updated -
release-4-0-0alpha7-1543-ga82bb4b
Günther Deschner
gd at samba.org
Mon May 11 16:32:23 GMT 2009
The branch, master has been updated
via a82bb4bd516e6a8e50c0272b79df8e506ea0cc91 (commit)
from f5cab8913b77c37dc24188b9093b80a0b4d42749 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit a82bb4bd516e6a8e50c0272b79df8e506ea0cc91
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.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source3/rpc_server/srv_lsa_nt.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index d9d74ed..fb5117c 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -1089,6 +1089,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