summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/create.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-11-25 05:23:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:41 -0500
commit310fa875091a85bb5d7be196906723f14305d406 (patch)
treef15e08f524b417a1876c1352454ba78a7e69aabd /source4/libcli/smb2/create.c
parent4d4afa8d6d8359f8c07611ddbde722948cf349a8 (diff)
downloadsamba-310fa875091a85bb5d7be196906723f14305d406.tar.gz
samba-310fa875091a85bb5d7be196906723f14305d406.tar.bz2
samba-310fa875091a85bb5d7be196906723f14305d406.zip
r11888: - added SMB2 trans support
- added session key to SMB2 - renamed 'unknown2' in create to 'impersonation' (This used to be commit aef915f312a78bf8a4123f7c40fcd14ff293d934)
Diffstat (limited to 'source4/libcli/smb2/create.c')
-rw-r--r--source4/libcli/smb2/create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb2/create.c b/source4/libcli/smb2/create.c
index 564eba7f46..c7bb190559 100644
--- a/source4/libcli/smb2/create.c
+++ b/source4/libcli/smb2/create.c
@@ -71,7 +71,7 @@ struct smb2_request *smb2_create_send(struct smb2_tree *tree, struct smb2_create
if (req == NULL) return NULL;
SSVAL(req->out.body, 0x02, io->in.oplock_flags);
- SIVAL(req->out.body, 0x04, io->in.unknown2);
+ SIVAL(req->out.body, 0x04, io->in.impersonation);
SIVAL(req->out.body, 0x08, io->in.unknown3[0]);
SIVAL(req->out.body, 0x0C, io->in.unknown3[1]);
SIVAL(req->out.body, 0x10, io->in.unknown3[2]);