mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
r8430: readd my hack to display the hashes with -d 100
metze
(This used to be commit b3f01ef0df
)
This commit is contained in:
parent
58d06f205e
commit
0639fe016e
@ -543,6 +543,15 @@ static BOOL samsync_handle_user(TALLOC_CTX *mem_ctx, struct samsync_state *samsy
|
||||
}
|
||||
}
|
||||
|
||||
if (nt_hash_p) {
|
||||
DATA_BLOB nt_hash_blob = data_blob_const(nt_hash_p, 16);
|
||||
DEBUG(100,("ACCOUNT [%s\\%-25s] NTHASH %s\n", samsync_state->domain_name[0], username, data_blob_hex_string(mem_ctx, &nt_hash_blob)));
|
||||
}
|
||||
if (lm_hash_p) {
|
||||
DATA_BLOB lm_hash_blob = data_blob_const(lm_hash_p, 16);
|
||||
DEBUG(100,("ACCOUNT [%s\\%-25s] LMHASH %s\n", samsync_state->domain_name[0], username, data_blob_hex_string(mem_ctx, &lm_hash_blob)));
|
||||
}
|
||||
|
||||
nt_status = test_SamLogon(samsync_state->p_netlogon_wksta, mem_ctx, samsync_state->creds_netlogon_wksta,
|
||||
domain,
|
||||
username,
|
||||
|
Loading…
Reference in New Issue
Block a user