summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2011-09-05 10:51:32 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-09-06 14:23:19 -0400
commit54423ae32fa26aa7790a67ff0f9a93b96677e590 (patch)
tree5f500d8e07d634f3c525194d0ffb9170fc885ec7 /src/util
parent3fff68f56b3c68897821c49ec7357a4f36bafa96 (diff)
downloadsssd-54423ae32fa26aa7790a67ff0f9a93b96677e590.tar.gz
sssd-54423ae32fa26aa7790a67ff0f9a93b96677e590.tar.bz2
sssd-54423ae32fa26aa7790a67ff0f9a93b96677e590.zip
sss_ldap_err2string() - ldap_err2string() to sss_ldap_err2string()
https://fedorahosted.org/sssd/ticket/986
Diffstat (limited to 'src/util')
-rw-r--r--src/util/sss_ldap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/sss_ldap.c b/src/util/sss_ldap.c
index e799e431..afff22f1 100644
--- a/src/util/sss_ldap.c
+++ b/src/util/sss_ldap.c
@@ -387,7 +387,7 @@ fail:
if (ret == LDAP_SUCCESS) {
tevent_req_done(req);
} else {
- DEBUG(1, ("ldap_initialize failed [%s].\n", ldap_err2string(ret)));
+ DEBUG(1, ("ldap_initialize failed [%s].\n", sss_ldap_err2string(ret)));
if (ret == LDAP_SERVER_DOWN) {
tevent_req_error(req, ETIMEDOUT);
} else {
@@ -436,7 +436,7 @@ static void sss_ldap_init_sys_connect_done(struct tevent_req *subreq)
lret = ldap_init_fd(state->sd, LDAP_PROTO_TCP, state->uri, &state->ldap);
if (lret != LDAP_SUCCESS) {
- DEBUG(1, ("ldap_init_fd failed: %s\n", ldap_err2string(lret)));
+ DEBUG(1, ("ldap_init_fd failed: %s\n", sss_ldap_err2string(lret)));
close(state->sd);
if (lret == LDAP_SERVER_DOWN) {
tevent_req_error(req, ETIMEDOUT);
@@ -453,7 +453,7 @@ static void sss_ldap_init_sys_connect_done(struct tevent_req *subreq)
DEBUG(5, ("TLS/SSL already in place.\n"));
} else {
DEBUG(1, ("ldap_install_tls failed: %s\n",
- ldap_err2string(lret)));
+ sss_ldap_err2string(lret)));
tevent_req_error(req, EIO);
return;