diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-06-06 10:22:48 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-06-06 10:22:48 +0000 |
commit | adb710d028751530cb3f3a994d8f0085968e1baf (patch) | |
tree | cbc90606603b8e9825c925996ac5eb52326510bd /source3 | |
parent | 0bbbe382a5b9d9906050629f531424b251302acf (diff) | |
download | samba-adb710d028751530cb3f3a994d8f0085968e1baf.tar.gz samba-adb710d028751530cb3f3a994d8f0085968e1baf.tar.bz2 samba-adb710d028751530cb3f3a994d8f0085968e1baf.zip |
No matter how special this session key is, it's not worth a level 0.
Hide it behind a level 10, with #ifdef DEBUG_PASSWORD instead.
Andrew Bartlett
(This used to be commit 9d4e327850fb00083241f3e68f866590c44e1823)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libads/kerberos_verify.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/libads/kerberos_verify.c b/source3/libads/kerberos_verify.c index a262e27526..65b557af57 100644 --- a/source3/libads/kerberos_verify.c +++ b/source3/libads/kerberos_verify.c @@ -139,8 +139,10 @@ NTSTATUS ads_verify_ticket(ADS_STRUCT *ads, const DATA_BLOB *ticket, free(packet.data); get_krb5_smb_session_key(context, auth_context, session_key); - DEBUG(0,("SMB session key (from ticket) follows:\n")); - dump_data(0, session_key, 16); +#ifdef DEBUG_PASSWORD + DEBUG(10,("SMB session key (from ticket) follows:\n")); + dump_data(10, session_key, 16); +#endif #if 0 file_save("/tmp/ticket.dat", ticket->data, ticket->length); |