summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-08-31 00:32:48 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-07 16:48:46 +0200
commit2ec0634f288929fb43fe379cda8e15a8bc028677 (patch)
treedaf228784a69bf3b5e0943e78059cd04ef124322
parent4ee613ba64cd49667ce934331a5fd8fae67c6795 (diff)
downloadsamba-2ec0634f288929fb43fe379cda8e15a8bc028677.tar.gz
samba-2ec0634f288929fb43fe379cda8e15a8bc028677.tar.bz2
samba-2ec0634f288929fb43fe379cda8e15a8bc028677.zip
s3:smb2cli: pass the uid to the SMB2_SESSION_SETUP to support multi-leg-auth
metze
-rw-r--r--source3/libsmb/smb2cli_session.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/smb2cli_session.c b/source3/libsmb/smb2cli_session.c
index 0fd91a8018..4ffdf13dd6 100644
--- a/source3/libsmb/smb2cli_session.c
+++ b/source3/libsmb/smb2cli_session.c
@@ -76,7 +76,8 @@ static struct tevent_req *smb2cli_sesssetup_blob_send(TALLOC_CTX *mem_ctx,
subreq = smb2cli_req_send(state, ev, cli, SMB2_OP_SESSSETUP,
0, 0, /* flags */
cli->smb2.pid,
- 0, 0, /* tid, uid */
+ 0, /* tid */
+ cli->smb2.uid,
state->fixed, sizeof(state->fixed),
dyn, dyn_len);
if (tevent_req_nomem(subreq, req)) {