mirror of
https://github.com/samba-team/samba.git
synced 2025-08-09 17:49:29 +03:00
s3:pdb_ldap: Fix large paged search.
Fix bug #6981 (Paged Search with DirX LDAP server broken).
(cherry picked from commit 0a3b576c0a
)
This commit is contained in:
committed by
Karolin Seeger
parent
c531d00ab4
commit
253465456a
@ -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;
|
||||
|
Reference in New Issue
Block a user