summaryrefslogtreecommitdiff
path: root/source3/rpc_server/netlogon
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-02-14 11:35:21 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-04-05 06:32:07 +1000
commitff9b6682a014f47e3b367c3286407bfc39fd286c (patch)
tree7086ed36ed1373875540559b4a355b583f430695 /source3/rpc_server/netlogon
parent17d8f0ad30847bb940f645ee1817d782ddaaee74 (diff)
downloadsamba-ff9b6682a014f47e3b367c3286407bfc39fd286c.tar.gz
samba-ff9b6682a014f47e3b367c3286407bfc39fd286c.tar.bz2
samba-ff9b6682a014f47e3b367c3286407bfc39fd286c.zip
s3-auth Rename user_session_key -> session_key to match auth_session_info
Diffstat (limited to 'source3/rpc_server/netlogon')
-rw-r--r--source3/rpc_server/netlogon/srv_netlog_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/netlogon/srv_netlog_nt.c b/source3/rpc_server/netlogon/srv_netlog_nt.c
index b17cfa2ffa..f0535c7295 100644
--- a/source3/rpc_server/netlogon/srv_netlog_nt.c
+++ b/source3/rpc_server/netlogon/srv_netlog_nt.c
@@ -1165,7 +1165,7 @@ static NTSTATUS netr_set_machine_account_password(TALLOC_CTX *mem_ctx,
in = data_blob_const(nt_hash->hash, 16);
out = data_blob_talloc_zero(mem_ctx, 16);
- sess_crypt_blob(&out, &in, &session_info->user_session_key, true);
+ sess_crypt_blob(&out, &in, &session_info->session_key, true);
memcpy(info18.nt_pwd.hash, out.data, out.length);
info18.nt_pwd_active = true;