diff options
-rw-r--r-- | src/providers/ldap/sdap_fd_events.c | 3 | ||||
-rw-r--r-- | src/util/sss_ldap.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/providers/ldap/sdap_fd_events.c b/src/providers/ldap/sdap_fd_events.c index 3750da773..190019471 100644 --- a/src/providers/ldap/sdap_fd_events.c +++ b/src/providers/ldap/sdap_fd_events.c @@ -301,7 +301,8 @@ errno_t sdap_call_conn_cb(const char *uri,int fd, struct sdap_handle *sh) ret = ldap_url_parse(uri, &lud); if (ret != 0) { ber_sockbuf_free(sb); - DEBUG(1, ("ber_sockbuf_ctrl failed.\n")); + DEBUG(1, ("ldap_url_parse failed to validate [%s] on fd [%ld].\n", + uri, fd)); return EFAULT; } diff --git a/src/util/sss_ldap.c b/src/util/sss_ldap.c index dbccc94a2..a90d740ab 100644 --- a/src/util/sss_ldap.c +++ b/src/util/sss_ldap.c @@ -425,7 +425,8 @@ 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", sss_ldap_err2string(lret))); + DEBUG(1, ("ldap_init_fd failed: %s. [%ld][%s]\n", + sss_ldap_err2string(lret), state->sd, state->uri)); close(state->sd); if (lret == LDAP_SERVER_DOWN) { tevent_req_error(req, ETIMEDOUT); |