1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

vfs_fruit: don't use MS NFS ACEs with Windows clients

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12897

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Thu Jul 13 22:21:08 CEST 2017 on sn-devel-144
This commit is contained in:
Ralph Boehme 2017-07-12 09:33:59 +02:00 committed by Günther Deschner
parent 4e68d377a7
commit df0db9d8f8

View File

@ -2606,6 +2606,9 @@ static NTSTATUS check_ms_nfs(vfs_handle_struct *handle,
struct fruit_config_data,
return NT_STATUS_UNSUCCESSFUL);
if (!global_fruit_config.nego_aapl) {
return NT_STATUS_OK;
}
if (psd->dacl == NULL || !config->unix_info_enabled) {
return NT_STATUS_OK;
}
@ -5280,6 +5283,9 @@ static NTSTATUS fruit_fget_nt_acl(vfs_handle_struct *handle,
/*
* Add MS NFS style ACEs with uid, gid and mode
*/
if (!global_fruit_config.nego_aapl) {
return NT_STATUS_OK;
}
if (!config->unix_info_enabled) {
return NT_STATUS_OK;
}