summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2015-11-29 01:42:51 +0100
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2015-11-29 13:59:33 +0100
commit694678d0a1c550b518b3b2298f8f605abd5a6754 (patch)
treebca356b005708f0c840608c4f2cacbe5720817ec /src
parent9494140a9fbaed32259a60af2b59e6f61f06589c (diff)
LDAP: Fix debug messages
Diffstat (limited to 'src')
-rw-r--r--src/src/lookups/ldap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/src/lookups/ldap.c b/src/src/lookups/ldap.c
index 3528075b0..77ed940fd 100644
--- a/src/src/lookups/ldap.c
+++ b/src/src/lookups/ldap.c
@@ -714,7 +714,7 @@ while ((rc = ldap_result(lcp->ld, msgid, 0, timeoutptr, &result)) ==
{
LDAPMessage *e;
- DEBUG(D_lookup) debug_printf("ldap_result loop\n");
+ DEBUG(D_lookup) debug_printf("LDAP result loop\n");
for(e = ldap_first_entry(lcp->ld, result);
e != NULL;
@@ -774,6 +774,7 @@ while ((rc = ldap_result(lcp->ld, msgid, 0, timeoutptr, &result)) ==
attr != NULL;
attr = US ldap_next_attribute(lcp->ld, e, ber))
{
+ DEBUG(D_lookup) debug_printf("LDAP attr loop\n");
if (attr[0] != 0)
{
/* Get array of values for this attribute. */
@@ -797,7 +798,8 @@ while ((rc = ldap_result(lcp->ld, msgid, 0, timeoutptr, &result)) ==
uschar *value = *values;
int len = Ustrlen(value);
- DEBUG(D_lookup) debug_printf("LDAP attr loop %s:%s\n", attr, value);
+ DEBUG(D_lookup) debug_printf("LDAP value loop %s:%s\n", attr, value);
+
/* In case we requested one attribute only but got
* several times into that attr loop, we need to append