diff options
author | Sumit Bose <sbose@redhat.com> | 2010-03-19 15:44:15 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-03-22 08:34:16 -0400 |
commit | b3f76cd4c5cacaad7580f953f3c17ab019d89330 (patch) | |
tree | 991d7a6cf117f36768ee2c40030cb0898feff423 /src | |
parent | c20aad97efb3b78ff4b23736a1ad8d7ac5a94bfd (diff) | |
download | sssd-b3f76cd4c5cacaad7580f953f3c17ab019d89330.tar.gz sssd-b3f76cd4c5cacaad7580f953f3c17ab019d89330.tar.xz sssd-b3f76cd4c5cacaad7580f953f3c17ab019d89330.zip |
Lower debug level of unexpected LDAP result codes
Diffstat (limited to 'src')
-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 959c08a65..15f3048bd 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; |