s4-ldap_server: Do not set conn->session_info to NULL, keep valid at all times
authorAndrew Bartlett <abartlet@samba.org>
Thu, 9 Mar 2017 02:10:14 +0000 (15:10 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 29 Mar 2017 00:37:26 +0000 (02:37 +0200)
commit9ffdb84600bb5b97a31d2407c8901aa3c599d53f
treef5b71758ad798245d4a8bcacbded6c0704ebcd8b
parent1cca9d6dce94f35e8efc17426ea0bf5f77a3ec3d
s4-ldap_server: Do not set conn->session_info to NULL, keep valid at all times

We need this to be valid, right up until a new session_info is created and
it is replaced.

We need this to have a valid value at all times, and we are still anonymous
until the new bind completes

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Pair-Programmed-by: Gary Lockyer <gary@catalyst.net.nz>
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
source4/ldap_server/ldap_bind.c