vfs_fruit: add a flag that tracks whether use of AAPL was negotiated
commitdfbf293cd736bd437537bd39fe5f4d4abeafeb26
authorRalph Boehme <slow@samba.org>
Wed, 25 Nov 2015 08:12:55 +0000 (25 09:12 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 17 Dec 2015 10:05:24 +0000 (17 11:05 +0100)
tree9df64917b1bc1ec0f4af1961fa322cb6d95a14f0
parent02968ec3cd90a62ffc2164bf337d049b86d8be49
vfs_fruit: add a flag that tracks whether use of AAPL was negotiated

Add a flag that tracks whether use of AAPL was negotiated, ensuring we
don't enable AAPL features for clients that didn't negotiate it.

Torture test that need AAPL must call the new function enable_aapl().

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

Signed-off-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 89a7394d679b383920d73fef0d178b8f84bc393f)
source3/modules/vfs_fruit.c