s4/ildap: fine tune ildb_callback()
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>
Wed, 3 Mar 2010 00:33:31 +0000 (02:33 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 3 Mar 2010 02:18:38 +0000 (13:18 +1100)
commit5338e42182ee34f20fde104006a752662099af22
tree6314dd3a2da22183e9ffa1e383a3699a38e3239d
parente3c2e1a30375c393f0ee0d50e814e7c7482c5182
s4/ildap: fine tune ildb_callback()

Actually ildb_context pointer is not supposed to be
valid after calling ildb_request_done().
This is due to the fact that when calling ildb_request_done()
caller will (most probably) free any locally built
ldap_request objects - thus rendering ildb_context invalid.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/lib/ldb/ldb_ildap/ldb_ildap.c