git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99f72dd
)
r23914: try to fix the build on Tru64
author
Stefan Metzmacher
<metze@samba.org>
Tue, 17 Jul 2007 06:03:03 +0000
(06:03 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:28:41 +0000
(12:28 -0500)
/usr/include/sys/acl.h:#define acl_type acl_common.entry_type
was the problem...
metze
source/smbd/posix_acls.c
patch
|
blob
|
history
diff --git
a/source/smbd/posix_acls.c
b/source/smbd/posix_acls.c
index 87b456a2f70a993da2ff073ee8d6a39f5097ade5..6286cd04145fb40a7fa209a8714b96a53a63da72 100644
(file)
--- a/
source/smbd/posix_acls.c
+++ b/
source/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;