svn commit: samba r8430 - in branches/SAMBA_4_0/source/torture/rpc: .

metze at samba.org metze at samba.org
Wed Jul 13 15:19:28 GMT 2005


Author: metze
Date: 2005-07-13 15:19:28 +0000 (Wed, 13 Jul 2005)
New Revision: 8430

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8430

Log:
readd my hack to display the hashes with -d 100

metze
Modified:
   branches/SAMBA_4_0/source/torture/rpc/samsync.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/samsync.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/samsync.c	2005-07-13 15:18:20 UTC (rev 8429)
+++ branches/SAMBA_4_0/source/torture/rpc/samsync.c	2005-07-13 15:19:28 UTC (rev 8430)
@@ -543,6 +543,15 @@
 		}
 	}
 
+	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, 



More information about the samba-cvs mailing list