summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-05-18 16:04:04 +0200
committerMichael Adam <obnox@samba.org>2009-11-13 11:36:06 +0100
commit12205347163b55e79651921c6858c4d04e1faa51 (patch)
tree9c90727e4772537590215db6d012d8b07fe1de10 /source3
parent92a16b91e86865833ea2d47d2dff81d5df0f5a27 (diff)
downloadsamba-12205347163b55e79651921c6858c4d04e1faa51.tar.gz
samba-12205347163b55e79651921c6858c4d04e1faa51.tar.bz2
samba-12205347163b55e79651921c6858c4d04e1faa51.zip
Fix large paged search
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3')
-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 87df75e7fd..d4a2fbe0fc 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -4337,6 +4337,7 @@ static bool ldapsam_search_firstpage(struct pdb_search *search)
if (state->current_entry == NULL) {
ldap_msgfree(state->entries);
state->entries = NULL;
+ return false;
}
return True;