summaryrefslogtreecommitdiffstats
path: root/libcli
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2014-09-17 13:23:11 -0700
committerChristof Schmitt <cs@samba.org>2014-10-01 16:56:49 +0200
commit304e3904f0bfca468862e576fde9b0922c66de07 (patch)
treef1b09ba1e6d42c62af940ea83492957c912542e2 /libcli
parentfa9630e368df2446c5893b2fe51bada7a38760aa (diff)
downloadsamba-304e3904f0bfca468862e576fde9b0922c66de07.tar.gz
samba-304e3904f0bfca468862e576fde9b0922c66de07.tar.xz
samba-304e3904f0bfca468862e576fde9b0922c66de07.zip
idmap_rfc2307: Fix a crash after connection problem to DC
When the connection to the DC has a problem, the code behind ads_do_search_retry closes the current connection and opens a new one. The new connection has a new struct LDAP to represent the connection. In this case, the LDAP pointer in the idmap_rfc2307_context becomes invalid. Fix this problem by updating the local pointer after calling ads_do_search_retry. Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'libcli')
0 files changed, 0 insertions, 0 deletions