summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-05-18 16:04:04 +0200
committerKarolin Seeger <kseeger@samba.org>2010-01-21 15:33:42 +0100
commit253465456a994e1fcbeabd64f3924f173ea1b865 (patch)
tree6847308b225a870053f57de6099bda2232c5d298
parentc531d00ab4444db19ff6ba4c60ebdcc8319949c6 (diff)
downloadsamba-253465456a994e1fcbeabd64f3924f173ea1b865.tar.gz
samba-253465456a994e1fcbeabd64f3924f173ea1b865.tar.bz2
samba-253465456a994e1fcbeabd64f3924f173ea1b865.zip
s3:pdb_ldap: Fix large paged search.
Fix bug #6981 (Paged Search with DirX LDAP server broken). (cherry picked from commit 0a3b576c0a4298cbe600ad8943e401e3a0639359)
-rw-r--r--source3/passdb/pdb_ldap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index cc969bcc21..758701bcb8 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -4370,6 +4370,7 @@ static bool ldapsam_search_nextpage(struct pdb_search *search)
if (state->current_entry == NULL) {
ldap_msgfree(state->entries);
state->entries = NULL;
+ return false;
}
return True;