lists.arthurdejong.org
RSS feed

[PATCH] Include query results in debug output

[Date Prev][Date Next] [Thread Prev][Thread Next]

[PATCH] Include query results in debug output



Hi folks,

while debugging a configuration issue recently, I was surprised at the
lack of debug output regarding query results. The attached patch fixes
this by outputting the dn of every result returned.

Perhaps there has been a compelling reason not to include this
information in the debug output before? Logging the dn does require
calling myldap_get_dn on every result, even when the dn would not
otherwise be needed, but I don't think this should be a problem? Also,
the patch retrieves the dn even when debugging output is not enabled,
but I don't suppose that's so critical either (and also easy to fix).

So, how about including this patch or something like it?

Gr.

Matthijs

Attachment: debug-results.patch
Description: Text Data

-- 
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/