diff options
author | Günther Deschner <gd@samba.org> | 2006-03-23 12:50:25 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:15:43 -0500 |
commit | 18909a1dc77f77ab44208b9c8426ac31673194dc (patch) | |
tree | 7542ebf464a5afa0a4d3c3e3148ed4b98d798501 /source3/nsswitch/winbindd_creds.c | |
parent | a7d1a32b1470c5903ae720cfbc0f05ed2348c931 (diff) | |
download | samba-18909a1dc77f77ab44208b9c8426ac31673194dc.tar.gz samba-18909a1dc77f77ab44208b9c8426ac31673194dc.tar.bz2 samba-18909a1dc77f77ab44208b9c8426ac31673194dc.zip |
r14674: Further cleanup for cached logins, only dump hashes with DEBUG_PASSWORD.
Guenther
(This used to be commit 24afdda2ae7626b8c0b378d158ede391924d1274)
Diffstat (limited to 'source3/nsswitch/winbindd_creds.c')
-rw-r--r-- | source3/nsswitch/winbindd_creds.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_creds.c b/source3/nsswitch/winbindd_creds.c index d37e9019db..414dd24af9 100644 --- a/source3/nsswitch/winbindd_creds.c +++ b/source3/nsswitch/winbindd_creds.c @@ -117,7 +117,9 @@ NTSTATUS winbindd_store_creds(struct winbindd_domain *domain, E_md4hash(pass, nt_pass); +#if DEBUG_PASSWORD dump_data(100, (const char *)nt_pass, NT_HASH_LEN); +#endif status = wcache_save_creds(domain, mem_ctx, &cred_sid, nt_pass); if (!NT_STATUS_IS_OK(status)) { |