diff options
author | Pavel Březina <pbrezina@redhat.com> | 2012-08-21 15:44:19 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-08-21 16:11:15 +0200 |
commit | 05eac5703ba2c93e693f7dfb0d5ed06d6a623682 (patch) | |
tree | b950d0659e732715af36eb43801cf3852c08254e | |
parent | d8fbc520c632094055325a887b0346eae21f6002 (diff) | |
download | sssd-05eac5703ba2c93e693f7dfb0d5ed06d6a623682.tar.gz sssd-05eac5703ba2c93e693f7dfb0d5ed06d6a623682.tar.bz2 sssd-05eac5703ba2c93e693f7dfb0d5ed06d6a623682.zip |
Unbreak build on RHEL5: replace ldap_destroy() with ldap_unbind_ext()
ldap_destroy() is not present in RHEL5
-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); } |