vfs_fruit: add a flag that tracks whether use of AAPL was negotiated
authorRalph Boehme <slow@samba.org>
Wed, 25 Nov 2015 08:12:55 +0000 (09:12 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 1 Dec 2015 19:45:20 +0000 (20:45 +0100)
commit89a7394d679b383920d73fef0d178b8f84bc393f
treecb7c53503dd251de8d842bdef702d37bb96a902e
parentbf1957584e341473edcd5025b7f77766440d408b
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>
source3/modules/vfs_fruit.c