[PATCH] Include query results in debug output
[Date Prev][Date Next] [Thread Prev][Thread Next][PATCH] Include query results in debug output
- From: Matthijs Kooijman <matthijs [at] stdin.nl>
- To: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: [PATCH] Include query results in debug output
- Date: Thu, 6 Oct 2011 23:21:58 +0200
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/
- [PATCH] Include query results in debug output, Matthijs Kooijman
- Re: [PATCH] Include query results in debug output, Arthur de Jong
- Prev by Date: Re: How to configure for delegated authentication
- Next by Date: Re: nslcd: ldap_result() timed out... seems that SOLVED
- Previous by thread: pam_authz_search variable references
- Next by thread: Re: [PATCH] Include query results in debug output