diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-05-22 22:58:39 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-05-26 09:53:06 +0200 |
commit | 31c6679bf12bbcd6626bfd5066bb2e751314e9c2 (patch) | |
tree | ef6447a14a449bbdfc0cccdd4df51886b1655a39 /source3/smbd/globals.h | |
parent | bd8a38b60e933bcffd90ea8bed75898a421cbdad (diff) | |
download | samba-31c6679bf12bbcd6626bfd5066bb2e751314e9c2.tar.gz |
s3:smbd: add support for SMB2 signing
metze
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r-- | source3/smbd/globals.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index 9d5eead9397..c6ab31dc36e 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -206,6 +206,13 @@ struct smbd_smb2_tcon; DATA_BLOB negprot_spnego(void); +NTSTATUS smb2_signing_sign_pdu(DATA_BLOB session_key, + struct iovec *vector, + int count); +NTSTATUS smb2_signing_check_pdu(DATA_BLOB session_key, + const struct iovec *vector, + int count); + bool smbd_is_smb2_header(const uint8_t *inbuf, size_t size); void reply_smb2002(struct smb_request *req, uint16_t choice); @@ -244,6 +251,7 @@ struct smbd_smb2_request { struct smbd_smb2_tcon *tcon; int current_idx; + bool do_signing; struct { /* the NBT header is not allocated */ @@ -299,6 +307,9 @@ struct smbd_smb2_session { NTSTATUS status; uint64_t vuid; AUTH_NTLMSSP_STATE *auth_ntlmssp_state; + struct auth_serversupplied_info *server_info; + DATA_BLOB session_key; + bool do_signing; struct { /* an id tree used to allocate tids */ |