svn commit: samba r2761 - in branches/SAMBA_3_0/source/rpc_server: .
abartlet at samba.org
abartlet at samba.org
Fri Oct 1 03:14:57 GMT 2004
Author: abartlet
Date: 2004-10-01 03:14:57 +0000 (Fri, 01 Oct 2004)
New Revision: 2761
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0/source/rpc_server&rev=2761&nolog=1
Log:
Print the decrypted, not encrypted key.
Andrew Bartlett
Modified:
branches/SAMBA_3_0/source/rpc_server/srv_netlog_nt.c
Changeset:
Modified: branches/SAMBA_3_0/source/rpc_server/srv_netlog_nt.c
===================================================================
--- branches/SAMBA_3_0/source/rpc_server/srv_netlog_nt.c 2004-10-01 02:59:43 UTC (rev 2760)
+++ branches/SAMBA_3_0/source/rpc_server/srv_netlog_nt.c 2004-10-01 03:14:57 UTC (rev 2761)
@@ -486,8 +486,8 @@
cred_hash3( pwd, q_u->pwd, p->dc.sess_key, 0);
DEBUG(100,("Server password set : new given value was :\n"));
- for(i = 0; i < 16; i++)
- DEBUG(100,("%02X ", q_u->pwd[i]));
+ for(i = 0; i < sizeof(pwd); i++)
+ DEBUG(100,("%02X ", pwd[i]));
DEBUG(100,("\n"));
old_pw = pdb_get_nt_passwd(sampass);
More information about the samba-cvs
mailing list