From 253465456a994e1fcbeabd64f3924f173ea1b865 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 18 May 2009 16:04:04 +0200 Subject: [PATCH] s3:pdb_ldap: Fix large paged search. Fix bug #6981 (Paged Search with DirX LDAP server broken). (cherry picked from commit 0a3b576c0a4298cbe600ad8943e401e3a0639359) --- source3/passdb/pdb_ldap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index cc969bcc210..758701bcb84 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; -- 2.11.4.GIT