diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/providers/ldap/sdap_async.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async.c b/src/providers/ldap/sdap_async.c index 306d7622..076a3f22 100644 --- a/src/providers/ldap/sdap_async.c +++ b/src/providers/ldap/sdap_async.c @@ -185,7 +185,9 @@ static void sdap_process_result(struct tevent_context *ev, void *pvt) } if (ret == -1) { - DEBUG(4, ("ldap_result gave -1, something bad happend!\n")); + ldap_get_option(sh->ldap, LDAP_OPT_RESULT_CODE, &ret); + DEBUG(SSSDBG_OP_FAILURE, + ("ldap_result error: [%s]\n", ldap_err2string(ret))); sdap_handle_release(sh); return; } |