svn commit: samba r5789 - in branches/SAMBA_3_0/source/lib: .
jra at samba.org
jra at samba.org
Mon Mar 14 20:03:37 GMT 2005
Author: jra
Date: 2005-03-14 20:03:32 +0000 (Mon, 14 Mar 2005)
New Revision: 5789
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5789
Log:
Patch from William Jojo <jojowil at hvcc.edu> - AIX has no default ACLs.
Bug #2445.
Jeremy.
Modified:
branches/SAMBA_3_0/source/lib/sysacls.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/sysacls.c
===================================================================
--- branches/SAMBA_3_0/source/lib/sysacls.c 2005-03-14 20:03:27 UTC (rev 5788)
+++ branches/SAMBA_3_0/source/lib/sysacls.c 2005-03-14 20:03:32 UTC (rev 5789)
@@ -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