]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r23389: Disabling ACL support on Darwin/Mac OS X for now.
authorMichael Adam <obnox@samba.org>
Fri, 8 Jun 2007 14:37:29 +0000 (14:37 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:12 +0000 (12:23 -0500)
Current configure check detects posix ACL support
but compile of modules/vfs_posixacl.c fails due
to missing defines in sys/acl.h:
ACL_USER, ACL_USER_OBJ, ACL_GROUP, ACL_GROUP_OBJ, ACL_OTHER,
ACL_MASK, ACL_WRITE, ACL_READ

It has to be investigated, if this can be fixed within
the posixacl vfs module or if we need a darwinacl module.

Michael

source/configure.in

index da024f7e45f4ef9d1014d660b95cb3a587ef502f..be92a9144d54081241fe7539f31ca27d5c5ff62d 100644 (file)
@@ -5419,7 +5419,11 @@ else
                ACL_LIBS="$ACL_LIBS -lpacl"
                default_static_modules="$default_static_modules vfs_tru64acl"
                ;;
-         *)
+       *darwin*)
+               AC_MSG_NOTICE(ACLs on Darwin currently not supported)
+               AC_DEFINE(HAVE_NO_ACLS,1,[Whether no ACLs support is available])
+               ;;
+       *)
                AC_CHECK_LIB(acl,acl_get_file,[ACL_LIBS="$ACL_LIBS -lacl"])
                case "$host_os" in
                *linux*)