summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-03-19 15:44:15 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-03-22 08:34:16 -0400
commitb3f76cd4c5cacaad7580f953f3c17ab019d89330 (patch)
tree991d7a6cf117f36768ee2c40030cb0898feff423 /src
parentc20aad97efb3b78ff4b23736a1ad8d7ac5a94bfd (diff)
downloadsssd-b3f76cd4c5cacaad7580f953f3c17ab019d89330.tar.gz
sssd-b3f76cd4c5cacaad7580f953f3c17ab019d89330.tar.bz2
sssd-b3f76cd4c5cacaad7580f953f3c17ab019d89330.zip
Lower debug level of unexpected LDAP result codes
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/sdap_async.c5
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;