summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-08-16 13:44:01 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-08-16 15:25:39 +1000
commit1157db293f5db7909f84f021581ddb916cfd8c7e (patch)
tree014f40c50087cc5fdd1043260ddb7d0e7625d8f4 /source3
parent802d67cabe63f5c1e9f5445fc9e5ef26dca43efe (diff)
downloadsamba-1157db293f5db7909f84f021581ddb916cfd8c7e.tar.gz
samba-1157db293f5db7909f84f021581ddb916cfd8c7e.tar.bz2
samba-1157db293f5db7909f84f021581ddb916cfd8c7e.zip
s3-smbd: Do not check no_acl_syscall_error(errno) after sys_acl_init()
This is no longer a VFS call, so will no longer fail in this way. Andrew Bartlett
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/posix_acls.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c
index c45003defd..7e1bab51ea 100644
--- a/source3/smbd/posix_acls.c
+++ b/source3/smbd/posix_acls.c
@@ -2844,17 +2844,8 @@ static bool set_canon_ace_list(files_struct *fsp,
#endif
if (the_acl == NULL) {
-
- if (!no_acl_syscall_error(errno)) {
- /*
- * Only print this error message if we have some kind of ACL
- * support that's not working. Otherwise we would always get this.
- */
- DEBUG(0,("set_canon_ace_list: Unable to init %s ACL. (%s)\n",
- default_ace ? "default" : "file", strerror(errno) ));
- }
- *pacl_set_support = False;
- goto fail;
+ DEBUG(0, ("sys_acl_init failed to allocate an ACL\n"));
+ return false;
}
if( DEBUGLVL( 10 )) {