summaryrefslogtreecommitdiffstats
path: root/source3/wscript
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2014-10-10 13:53:56 +0200
committerJeremy Allison <jra@samba.org>2014-10-12 00:22:19 +0200
commitf593835e54648621a46600bde7866e629718ebf4 (patch)
treee68d41421fe24f30056ee68e6c3918e8d31e94d2 /source3/wscript
parent8686da231d434bb35333654277a029271e147257 (diff)
downloadsamba-f593835e54648621a46600bde7866e629718ebf4.tar.gz
samba-f593835e54648621a46600bde7866e629718ebf4.tar.xz
samba-f593835e54648621a46600bde7866e629718ebf4.zip
vfs_posixacl: catch ACL_EVERYONE on FreeBSD
Using POSIX ACL API on FreeBSD may return NFSv4 style tag type ACL_EVERYONE. Catch the error and issue a helpful log message telling users to enable zfsacl VFS module. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sun Oct 12 00:22:19 CEST 2014 on sn-devel-104
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index b285c5f38c..4f182bf748 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -476,6 +476,7 @@ return acl_get_perm_np(permset_d, perm);
headers='sys/types.h sys/acl.h', link=True,
msg="Checking whether acl_get_perm_np() is available")
default_static_modules.extend(TO_LIST('vfs_posixacl'))
+ conf.CHECK_VARIABLE('ACL_EVERYONE', headers='sys/acl.h')
elif conf.CHECK_FUNCS_IN(['facl'], 'sec'):
Logs.info('Using solaris or UnixWare ACLs')
conf.DEFINE('HAVE_SOLARIS_UNIXWARE_ACLS',1)