svn commit: samba r23389 - in branches/SAMBA_3_0/source: .

obnox at samba.org obnox at samba.org
Fri Jun 8 14:37:32 GMT 2007


Author: obnox
Date: 2007-06-08 14:37:29 +0000 (Fri, 08 Jun 2007)
New Revision: 23389

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23389

Log:
Disabling ACL support on Darwin/Mac OS X for now.

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


Modified:
   branches/SAMBA_3_0/source/configure.in


Changeset:
Modified: branches/SAMBA_3_0/source/configure.in
===================================================================
--- branches/SAMBA_3_0/source/configure.in	2007-06-08 14:29:30 UTC (rev 23388)
+++ branches/SAMBA_3_0/source/configure.in	2007-06-08 14:37:29 UTC (rev 23389)
@@ -5419,7 +5419,11 @@
 		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*)



More information about the samba-cvs mailing list