mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
libcli/smb: add smb2cli_tcon_is_encryption_on()
https://bugzilla.samba.org/show_bug.cgi?id=10208 Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
25494628a2
commit
f643961343
libcli/smb
@ -5090,3 +5090,8 @@ void smb2cli_tcon_set_values(struct smbXcli_tcon *tcon,
|
|||||||
tcon->smb2.should_encrypt = true;
|
tcon->smb2.should_encrypt = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool smb2cli_tcon_is_encryption_on(struct smbXcli_tcon *tcon)
|
||||||
|
{
|
||||||
|
return tcon->smb2.should_encrypt;
|
||||||
|
}
|
||||||
|
@ -315,6 +315,7 @@ void smb2cli_tcon_set_values(struct smbXcli_tcon *tcon,
|
|||||||
uint32_t flags,
|
uint32_t flags,
|
||||||
uint32_t capabilities,
|
uint32_t capabilities,
|
||||||
uint32_t maximal_access);
|
uint32_t maximal_access);
|
||||||
|
bool smb2cli_tcon_is_encryption_on(struct smbXcli_tcon *tcon);
|
||||||
|
|
||||||
struct tevent_req *smb2cli_session_setup_send(TALLOC_CTX *mem_ctx,
|
struct tevent_req *smb2cli_session_setup_send(TALLOC_CTX *mem_ctx,
|
||||||
struct tevent_context *ev,
|
struct tevent_context *ev,
|
||||||
|
Loading…
Reference in New Issue
Block a user