--- lib/sysacls.orig.c 2005-01-04 15:30:21.000000000 -0500 +++ lib/sysacls.c 2005-03-14 09:11:12.000000000 -0500 @@ -20,6 +20,9 @@ #include "includes.h" +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_ACLS + /* This file wraps all differing system ACL interfaces into a consistent one based on the POSIX interface. It also returns the correct errors @@ -2277,6 +2280,12 @@ int rc = 0; uid_t user_id; + + /* AIX has no DEFAULT */ + if ( type == SMB_ACL_TYPE_DEFAULT ) + return NULL; + + /* Get the acl using statacl */ DEBUG(10,("Entering sys_acl_get_file\n"));