summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-07-13 15:19:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:23:02 -0500
commit0639fe016e56ccd84b05da678219d8bb6c68432c (patch)
treedd97e2f186e2fd1d30f2c951acfd8508ca273d17 /source4/torture
parent58d06f205e38cbfb334e4005983ec854c6a0b909 (diff)
downloadsamba-0639fe016e56ccd84b05da678219d8bb6c68432c.tar.gz
samba-0639fe016e56ccd84b05da678219d8bb6c68432c.tar.bz2
samba-0639fe016e56ccd84b05da678219d8bb6c68432c.zip
r8430: readd my hack to display the hashes with -d 100
metze (This used to be commit b3f01ef0df2579decbbb67586157d089f528dd13)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/samsync.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/torture/rpc/samsync.c b/source4/torture/rpc/samsync.c
index 911f0fe471..2e1e9d8740 100644
--- a/source4/torture/rpc/samsync.c
+++ b/source4/torture/rpc/samsync.c
@@ -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,