From 63e93ad01274f34617bacd56d0e43cb0b81475c9 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 17 Jul 2007 06:03:03 +0000 Subject: r23914: try to fix the build on Tru64 /usr/include/sys/acl.h:#define acl_type acl_common.entry_type was the problem... metze (This used to be commit 8557b8b570ac8f8d3d14aaeb894c8b3532558736) --- source3/smbd/posix_acls.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index 87b456a2f7..6286cd0414 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -3111,7 +3111,7 @@ static NTSTATUS append_ugw_ace(files_struct *fsp, { mode_t perms; SEC_ACCESS acc; - int acl_type; + int nt_acl_type; DOM_SID trustee; switch (ugw) { @@ -3140,13 +3140,13 @@ static NTSTATUS append_ugw_ace(files_struct *fsp, return NT_STATUS_INVALID_PARAMETER; } acc = map_canon_ace_perms(SNUM(fsp->conn), - &acl_type, + &nt_acl_type, perms, fsp->is_directory); init_sec_ace(se, &trustee, - acl_type, + nt_acl_type, acc, 0); return NT_STATUS_OK; -- cgit