vfs_fruit: use check on global_fruit_config.nego_aapl for macOS specific behaviour
authorRalph Boehme <slow@samba.org>
Sat, 20 Oct 2018 13:28:06 +0000 (15:28 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 31 Oct 2018 20:27:20 +0000 (21:27 +0100)
commit046456fca60b9fef38a0cdf5a116883fb1c7dffe
tree609dff28577f20354de24c0f4e338f08bad0483a
parent7485007bb0a69dc8237c78be90f4bae06aad49b2
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>
source3/modules/vfs_fruit.c