summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-02-02 05:22:37 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-02-02 05:22:37 +0000
commit3719bfd1a0d15c7c17d86bc049634063434ba8ca (patch)
tree0552ebbb36d6062e89a745c35c58ef3831e5cf80 /source3/rpc_parse
parent39e0b72728ce5f027e38677f080dcc161de6e6fc (diff)
downloadsamba-3719bfd1a0d15c7c17d86bc049634063434ba8ca.tar.gz
samba-3719bfd1a0d15c7c17d86bc049634063434ba8ca.tar.bz2
samba-3719bfd1a0d15c7c17d86bc049634063434ba8ca.zip
Merge from HEAD: Send the session key to the client, allowing it to perform SMB
signing. Andrew Bartlett (This used to be commit 9bcdb869e53ee8048dd69053b804bdaf55db7b91)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_parse/parse_net.c b/source3/rpc_parse/parse_net.c
index ac21e6f2dd..853bca3b54 100644
--- a/source3/rpc_parse/parse_net.c
+++ b/source3/rpc_parse/parse_net.c
@@ -1271,7 +1271,7 @@ void init_net_user_info3(TALLOC_CTX *ctx, NET_USER_INFO_3 *usr,
uint16 logon_count, uint16 bad_pw_count,
uint32 num_groups, const DOM_GID *gids,
- uint32 user_flgs, uchar *sess_key,
+ uint32 user_flgs, uchar sess_key[16],
const char *logon_srv, const char *logon_dom,
const DOM_SID *dom_sid, const char *other_sids)
{
@@ -1448,7 +1448,7 @@ BOOL net_io_user_info3(const char *desc, NET_USER_INFO_3 *usr, prs_struct *ps,
if(!prs_uint32("user_flgs ", ps, depth, &usr->user_flgs)) /* user flags */
return False;
- if(!prs_uint8s(False, "user_sess_key", ps, depth, usr->user_sess_key, 16)) /* unused user session key */
+ if(!prs_uint8s(False, "user_sess_key", ps, depth, usr->user_sess_key, 16)) /* user session key */
return False;
if(!smb_io_unihdr("hdr_logon_srv", &usr->hdr_logon_srv, ps, depth)) /* logon server unicode string header */