From b3f76cd4c5cacaad7580f953f3c17ab019d89330 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Fri, 19 Mar 2010 15:44:15 +0100 Subject: Lower debug level of unexpected LDAP result codes --- src/providers/ldap/sdap_async.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/providers/ldap/sdap_async.c') 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; -- cgit