svn commit: samba r5788 - in trunk/source/lib: .
jra at samba.org
jra at samba.org
Mon Mar 14 20:03:27 GMT 2005
Author: jra
Date: 2005-03-14 20:03:27 +0000 (Mon, 14 Mar 2005)
New Revision: 5788
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5788
Log:
Patch from William Jojo <jojowil at hvcc.edu> - AIX has no default ACLs.
Bug #2445.
Jeremy.
Modified:
trunk/source/lib/sysacls.c
Changeset:
Modified: trunk/source/lib/sysacls.c
===================================================================
--- trunk/source/lib/sysacls.c 2005-03-14 18:26:20 UTC (rev 5787)
+++ trunk/source/lib/sysacls.c 2005-03-14 20:03:27 UTC (rev 5788)
@@ -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,10 @@
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"));
More information about the samba-cvs
mailing list