URL: https://github.com/SSSD/sssd/pull/27
Author: mzidek-rh
 Title: #27: Minor code changes
Action: synchronized

To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/27/head:pr27
git checkout pr27
From ab432e4dd82a955c69b2b652082d6a9b62036f0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michal=20=C5=BDidek?= <mzi...@redhat.com>
Date: Mon, 19 Sep 2016 11:32:15 +0200
Subject: [PATCH] SDAP: Improve debug message

Use different debug message for exceeding sizelimit
and adminlimit.
---
 src/providers/ldap/sdap_async.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/providers/ldap/sdap_async.c b/src/providers/ldap/sdap_async.c
index f374112..8ff4a0e 100644
--- a/src/providers/ldap/sdap_async.c
+++ b/src/providers/ldap/sdap_async.c
@@ -1532,8 +1532,8 @@ static void sdap_get_generic_op_finished(struct sdap_op *op,
 
             if ( ! (state->flags & SDAP_SRCH_FLG_SIZELIMIT_SILENT)) {
                 DEBUG(SSSDBG_MINOR_FAILURE,
-                      "LDAP sizelimit was exceeded, "
-                      "returning incomplete data\n");
+                      "LDAP server limit was exceeded, returning incomplete "
+                      "data: %s(%d)\n", sss_ldap_err2string(result), result);
             }
         } else if (result == LDAP_INAPPROPRIATE_MATCHING) {
             /* This error should only occur when we're testing for
_______________________________________________
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org

Reply via email to