summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e1eff69)
raw | patch | inline | side by side (parent: e1eff69)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 1 Sep 2014 11:26:38 +0000 (13:26 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 1 Sep 2014 11:26:38 +0000 (13:26 +0200) |
src/openldap.c | patch | blob | history |
diff --git a/src/openldap.c b/src/openldap.c
index 4d8fa68fbafde40523e455368b226b28170aa0c5..5b9f8b147e509b5d1049232b95db0e9662a5901b 100644 (file)
--- a/src/openldap.c
+++ b/src/openldap.c
ERROR ("openldap plugin: ldap_initialize failed: %s",
ldap_err2string (rc));
st->state = 0;
+ ldap_unbind_ext_s (ld, NULL, NULL);
return (-1);
}
ERROR ("openldap plugin: Failed to execute search: %s",
ldap_err2string (rc));
ldap_msgfree (result);
+ ldap_unbind_ext_s (st->ld, NULL, NULL);
return (-1);
}