diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-10-01 03:14:57 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:51 -0500 |
commit | 90cd0c339c800b7a4529a80442c3c487d99d5250 (patch) | |
tree | d5f1af4f5d534a6442198ebb454dbb7247418249 /source3/rpc_server | |
parent | 301513531493cd0f14571df96d1eaeac53eee237 (diff) | |
download | samba-90cd0c339c800b7a4529a80442c3c487d99d5250.tar.gz samba-90cd0c339c800b7a4529a80442c3c487d99d5250.tar.bz2 samba-90cd0c339c800b7a4529a80442c3c487d99d5250.zip |
r2761: Print the decrypted, not encrypted key.
Andrew Bartlett
(This used to be commit 1833d0ab724d88411ebd79ac26f5642e7c8cfee3)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_netlog_nt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c index 3e0762fa43..a3157435f3 100644 --- a/source3/rpc_server/srv_netlog_nt.c +++ b/source3/rpc_server/srv_netlog_nt.c @@ -486,8 +486,8 @@ NTSTATUS _net_srv_pwset(pipes_struct *p, NET_Q_SRV_PWSET *q_u, NET_R_SRV_PWSET * 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); |