The Samba-Bugzilla – Attachment 4305 Details for
Bug 6484
lsa lookupnames2 does not return correct data, usrmgr cannot search for objects
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 3.3 and 3.2
lsa-lookupnames2.diff (text/plain), 1006 bytes, created by
Guenther Deschner
on 2009-06-18 05:28:36 UTC
(
hide
)
Description:
patch for 3.3 and 3.2
Filename:
MIME Type:
Creator:
Guenther Deschner
Created:
2009-06-18 05:28:36 UTC
Size:
1006 bytes
patch
obsolete
>From d24dbbe8ecc834a3589efe7204e21ecc37b137e9 Mon Sep 17 00:00:00 2001 >From: =?utf-8?q?G=C3=BCnther=20Deschner?= <gd@samba.org> >Date: Mon, 11 May 2009 18:27:40 +0200 >Subject: [PATCH] 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 >--- > source/rpc_server/srv_lsa_nt.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > >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; >-- >1.6.2.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
vl
:
review+
Actions:
View
Attachments on
bug 6484
: 4305