summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/smb2/create.c2
-rw-r--r--source4/libcli/smb2/session.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/smb2/create.c b/source4/libcli/smb2/create.c
index e4b0773758..1316626432 100644
--- a/source4/libcli/smb2/create.c
+++ b/source4/libcli/smb2/create.c
@@ -70,7 +70,7 @@ struct smb2_request *smb2_create_send(struct smb2_tree *tree, struct smb2_create
SIVAL(ptr, 0x04, io->in.unknown8);
SIVAL(ptr, 0x08, io->in.unknown9);
SIVAL(ptr, 0x0C, io->in.unknown10);
- SIVAL(ptr, 0x10, io->in.unknown11);
+ SBVAL(ptr, 0x10, io->in.unknown11);
data_blob_free(&path);
diff --git a/source4/libcli/smb2/session.c b/source4/libcli/smb2/session.c
index baa706cf8b..257e754660 100644
--- a/source4/libcli/smb2/session.c
+++ b/source4/libcli/smb2/session.c
@@ -154,7 +154,7 @@ static void session_request_handler(struct smb2_request *req)
if (NT_STATUS_EQUAL(c->status, NT_STATUS_MORE_PROCESSING_REQUIRED) ||
(NT_STATUS_IS_OK(c->status) &&
NT_STATUS_EQUAL(state->gensec_status, NT_STATUS_MORE_PROCESSING_REQUIRED))) {
- c->status = gensec_update(req->session->gensec, c,
+ c->status = gensec_update(session->gensec, c,
state->io.out.secblob,
&state->io.in.secblob);
state->gensec_status = c->status;