From 18909a1dc77f77ab44208b9c8426ac31673194dc Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 23 Mar 2006 12:50:25 +0000 Subject: r14674: Further cleanup for cached logins, only dump hashes with DEBUG_PASSWORD. Guenther (This used to be commit 24afdda2ae7626b8c0b378d158ede391924d1274) --- source3/nsswitch/winbindd_pam.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/nsswitch/winbindd_pam.c') diff --git a/source3/nsswitch/winbindd_pam.c b/source3/nsswitch/winbindd_pam.c index 97689cb3dc..95dcd788d3 100644 --- a/source3/nsswitch/winbindd_pam.c +++ b/source3/nsswitch/winbindd_pam.c @@ -716,8 +716,10 @@ NTSTATUS winbindd_dual_pam_auth_cached(struct winbindd_domain *domain, E_md4hash(state->request.data.auth.pass, new_nt_pass); +#if DEBUG_PASSWORD dump_data(100, (const char *)new_nt_pass, NT_HASH_LEN); dump_data(100, (const char *)cached_nt_pass, NT_HASH_LEN); +#endif if (!memcmp(cached_nt_pass, new_nt_pass, NT_HASH_LEN)) { -- cgit