diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/sss_ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/sss_ldap.c b/src/util/sss_ldap.c index 581b7b15..060aacf9 100644 --- a/src/util/sss_ldap.c +++ b/src/util/sss_ldap.c @@ -448,7 +448,7 @@ static void sss_ldap_init_sys_connect_done(struct tevent_req *subreq) fail: if (state->ldap) { - ldap_destroy(state->ldap); + ldap_unbind_ext(state->ldap, NULL, NULL); } else { close(state->sd); } |