mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r5789: Patch from William Jojo <jojowil@hvcc.edu> - AIX has no default ACLs.
Bug #2445. Jeremy.
This commit is contained in:
parent
ab79612ac6
commit
c9b5e32650
@ -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 @@ SMB_ACL_T sys_acl_get_file( const char *path_p, SMB_ACL_TYPE_T type)
|
||||
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"));
|
||||
|
Loading…
Reference in New Issue
Block a user