diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-05-12 09:48:19 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-05-13 14:11:01 +0200 |
commit | 70ac2cc831c870c14d479cf845677f141b2eb85d (patch) | |
tree | d6ec3397798050a261bd257a8cba24fd9c15e347 | |
parent | 7b359bc6154a4656f40837720e9147d590717102 (diff) | |
download | samba-70ac2cc831c870c14d479cf845677f141b2eb85d.tar.gz samba-70ac2cc831c870c14d479cf845677f141b2eb85d.tar.bz2 samba-70ac2cc831c870c14d479cf845677f141b2eb85d.zip |
s3:smb2_sesssetup: pass down in_flags to smbd_smb2_session_setup()
metze
-rw-r--r-- | source3/smbd/smb2_sesssetup.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/smbd/smb2_sesssetup.c b/source3/smbd/smb2_sesssetup.c index b64d9e8196..378b03e6fa 100644 --- a/source3/smbd/smb2_sesssetup.c +++ b/source3/smbd/smb2_sesssetup.c @@ -30,6 +30,7 @@ static NTSTATUS smbd_smb2_session_setup(struct smbd_smb2_request *smb2req, uint64_t in_session_id, + uint8_t in_flags, uint8_t in_security_mode, uint64_t in_previous_session_id, DATA_BLOB in_security_buffer, @@ -46,6 +47,7 @@ NTSTATUS smbd_smb2_request_process_sesssetup(struct smbd_smb2_request *smb2req) DATA_BLOB outbody; DATA_BLOB outdyn; uint64_t in_session_id; + uint8_t in_flags; uint8_t in_security_mode; uint64_t in_previous_session_id; uint16_t in_security_offset; @@ -66,7 +68,7 @@ NTSTATUS smbd_smb2_request_process_sesssetup(struct smbd_smb2_request *smb2req) in_session_id = BVAL(inhdr, SMB2_HDR_SESSION_ID); - /* Flags = CVAL(inbody, 0x02); */ + in_flags = CVAL(inbody, 0x02); in_security_mode = CVAL(inbody, 0x03); /* Capabilities = IVAL(inbody, 0x04) */ /* Channel = IVAL(inbody, 0x08) */ @@ -87,6 +89,7 @@ NTSTATUS smbd_smb2_request_process_sesssetup(struct smbd_smb2_request *smb2req) status = smbd_smb2_session_setup(smb2req, in_session_id, + in_flags, in_security_mode, in_previous_session_id, in_security_buffer, @@ -293,6 +296,7 @@ static NTSTATUS smbd_smb2_auth_generic(struct smbd_smb2_session *session, static NTSTATUS smbd_smb2_session_setup(struct smbd_smb2_request *smb2req, uint64_t in_session_id, + uint8_t in_flags, uint8_t in_security_mode, uint64_t in_previous_session_id, DATA_BLOB in_security_buffer, |