1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

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 9d4e327850)
This commit is contained in:
Andrew Bartlett 2003-06-06 10:22:48 +00:00
parent 0bbbe382a5
commit adb710d028

View File

@ -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);