From a4d0ed5a1027f4cb58732c78cb63464dbf9cc287 Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Mon, 25 Jan 2010 12:22:39 +0200 Subject: s4/ldap: Fix nested searches SEGFAULT bug Signed-off-by: Stefan Metzmacher --- source4/libcli/ldap/ldap_client.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/libcli') diff --git a/source4/libcli/ldap/ldap_client.h b/source4/libcli/ldap/ldap_client.h index 084de2e6dc..d6ca29f8a7 100644 --- a/source4/libcli/ldap/ldap_client.h +++ b/source4/libcli/ldap/ldap_client.h @@ -37,6 +37,10 @@ struct ldap_request { int num_replies; struct ldap_message **replies; + /* mark while we are processing replies + * in request of type LDAP_TAG_SearchRequest */ + bool in_dispatch_replies; + NTSTATUS status; DATA_BLOB data; struct { -- cgit