The Samba-Bugzilla – Attachment 5788 Details for
Bug 7262
Unable to maintain users' groups via UsrMgr
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch created by Volker
0001-s3-Fix-EnumDomainAliases-when-no-aliases-are-in-LDAP.patch (text/plain), 1.20 KB, created by
Karolin Seeger
on 2010-06-10 08:33:14 UTC
(
hide
)
Description:
Proposed patch created by Volker
Filename:
MIME Type:
Creator:
Karolin Seeger
Created:
2010-06-10 08:33:14 UTC
Size:
1.20 KB
patch
obsolete
>From f66cc827096c53d4d16b8c850c83a3b5664e9725 Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Thu, 10 Jun 2010 15:40:14 +0200 >Subject: [PATCH] s3: Fix EnumDomainAliases when no aliases are in LDAP > >We used to return NT_STATUS_ACCESS_DENIED, now we just return 0 entries, just >like W2k8 does. > >usrmgr.exe was pretty unhappy with the NT_STATUS_ACCESS_DENIED >--- > source3/passdb/pdb_ldap.c | 10 ++++------ > 1 files changed, 4 insertions(+), 6 deletions(-) > >diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c >index b81d1e6..d2b4f4f 100644 >--- a/source3/passdb/pdb_ldap.c >+++ b/source3/passdb/pdb_ldap.c >@@ -4441,12 +4441,6 @@ static bool ldapsam_search_firstpage(struct pdb_search *search) > } > state->current_entry = ldap_first_entry(ld, state->entries); > >- if (state->current_entry == NULL) { >- ldap_msgfree(state->entries); >- state->entries = NULL; >- return false; >- } >- > return True; > } > >@@ -4489,6 +4483,10 @@ static bool ldapsam_search_next_entry(struct pdb_search *search, > bool result; > > retry: >+ if (state->current_entry == NULL) { >+ return false; >+ } >+ > if ((state->entries == NULL) && (state->pagedresults_cookie == NULL)) > return False; > >-- >1.6.4.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:
obnox
:
review+
Actions:
View
Attachments on
bug 7262
:
5510
| 5788 |
5829