[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-5315-g0cfe59f
Karolin Seeger
kseeger at samba.org
Thu Jun 18 10:51:19 GMT 2009
The branch, v3-3-test has been updated
via 0cfe59f1b580371f445b50151ceae5aef02bf0c4 (commit)
from 7e51314f2e18241876b049642fcb133df7e44c70 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit 0cfe59f1b580371f445b50151ceae5aef02bf0c4
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
-----------------------------------------------------------------------
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 96ee36a..ec7d30a 100644
--- a/source/rpc_server/srv_lsa_nt.c
+++ b/source/rpc_server/srv_lsa_nt.c
@@ -1090,6 +1090,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