mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
CVE-2017-12150: s3:lib: get_cmdline_auth_info_signing_state smb_encrypt SMB_SIGNING_REQUIRED
This is an addition to the fixes for CVE-2015-5296. It applies to smb2mount -e, smbcacls -e and smbcquotas -e. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12997 Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
44b47f2bae
commit
52d967e161
@ -265,6 +265,9 @@ void set_cmdline_auth_info_signing_state_raw(struct user_auth_info *auth_info,
|
||||
|
||||
int get_cmdline_auth_info_signing_state(const struct user_auth_info *auth_info)
|
||||
{
|
||||
if (auth_info->smb_encrypt) {
|
||||
return SMB_SIGNING_REQUIRED;
|
||||
}
|
||||
return auth_info->signing_state;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user