vfs_fruit: use check on global_fruit_config.nego_aapl for macOS specific behaviour
commite8f1df015d6335aad02f846d39e86ef94eefdfb7
authorRalph Boehme <slow@samba.org>
Sat, 20 Oct 2018 13:28:06 +0000 (20 15:28 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 6 Nov 2018 08:11:24 +0000 (6 09:11 +0100)
tree66e8eed62f4739a002adde17f2237df9be0c1c5d
parent71d8b4a2f49274e1f7eca8ce6fbf7a3aa935e9ef
vfs_fruit: use check on global_fruit_config.nego_aapl for macOS specific behaviour

Ensure any non MS compliant protocol behaviour targetted at supporting
macOS clients are only effective if the client negotiated AAPL.

Currently this only guards the resource fork which only macOS client are
going to use, but subsequent commits add more this at this place.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 046456fca60b9fef38a0cdf5a116883fb1c7dffe)
source3/modules/vfs_fruit.c