diff options
Diffstat (limited to 'src/providers/ldap')
-rw-r--r-- | src/providers/ldap/sdap_async.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_async.c b/src/providers/ldap/sdap_async.c index 959c08a6..15f3048b 100644 --- a/src/providers/ldap/sdap_async.c +++ b/src/providers/ldap/sdap_async.c @@ -971,6 +971,11 @@ static void sdap_get_generic_done(struct sdap_op *op, DEBUG(6, ("Search result: %s(%d), %s\n", ldap_err2string(result), result, errmsg)); + if (result != LDAP_SUCCESS && result != LDAP_NO_SUCH_OBJECT) { + DEBUG(2, ("Unexpected result from ldap: %s(%d), %s\n", + ldap_err2string(result), result, errmsg)); + } + tevent_req_done(req); return; |