git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83eb2e9
)
s3: Fix another aspect of bug 7262
author
Volker Lendecke
<vl@samba.org>
Tue, 6 Jul 2010 14:55:14 +0000
(16:55 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Fri, 31 Dec 2010 19:07:00 +0000
(20:07 +0100)
(Unable to maintain users' groups via UsrMgr)
source3/passdb/pdb_ldap.c
patch
|
blob
|
history
diff --git
a/source3/passdb/pdb_ldap.c
b/source3/passdb/pdb_ldap.c
index db86a481544e83e2f008932d816f21b38560c46f..54b0f96802e32edced967ba6d7aa2d6f516b281c 100644
(file)
--- a/
source3/passdb/pdb_ldap.c
+++ b/
source3/passdb/pdb_ldap.c
@@
-4484,10
+4484,6
@@
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;
@@
-4495,6
+4491,10
@@
static bool ldapsam_search_next_entry(struct pdb_search *search,
!ldapsam_search_nextpage(search))
return False;
+ if (state->current_entry == NULL) {
+ return false;
+ }
+
result = state->ldap2displayentry(state, search,
state->connection->ldap_struct,
state->current_entry, entry);