summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-04-12 05:32:27 +0000
committerJeremy Allison <jra@samba.org>2001-04-12 05:32:27 +0000
commite5691d44a8e4551abe6290b8994f6fc8568e5759 (patch)
tree21b64c246e47de69c2e038a6e23c1528223f5fdb /source3/lib
parent71ef4e018348df03bba429ebf4b323e35b773e86 (diff)
downloadsamba-e5691d44a8e4551abe6290b8994f6fc8568e5759.tar.gz
samba-e5691d44a8e4551abe6290b8994f6fc8568e5759.tar.bz2
samba-e5691d44a8e4551abe6290b8994f6fc8568e5759.zip
Merged John's changes.
Jeremy. (This used to be commit add847778bf458238bf2a1b14ab71b8cdfd7aec0)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/sysacls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/sysacls.c b/source3/lib/sysacls.c
index 59f8e2e043..2963049572 100644
--- a/source3/lib/sysacls.c
+++ b/source3/lib/sysacls.c
@@ -636,7 +636,7 @@ int sys_acl_set_permset(SMB_ACL_ENTRY_T entry_d, SMB_ACL_PERMSET_T permset_d)
int sys_acl_valid(SMB_ACL_T acl_d)
{
- if (aclsort(acl_d->count, 0, acl_d->acl) != 0) {
+ if (aclsort(acl_d->count, 1, acl_d->acl) != 0) {
errno = EINVAL;
return -1;
}
@@ -726,7 +726,7 @@ int sys_acl_set_file(char *name, SMB_ACL_TYPE_T type, SMB_ACL_T acl_d)
return -1;
}
- if (aclsort(acl_count, 0, acl_p) != 0) {
+ if (aclsort(acl_count, 1, acl_p) != 0) {
errno = EINVAL;
ret = -1;
} else {
@@ -742,7 +742,7 @@ int sys_acl_set_file(char *name, SMB_ACL_TYPE_T type, SMB_ACL_T acl_d)
int sys_acl_set_fd(int fd, SMB_ACL_T acl_d)
{
- if (aclsort(acl_d->count, 0, acl_d->acl) != 0) {
+ if (aclsort(acl_d->count, 1, acl_d->acl) != 0) {
errno = EINVAL;
return -1;
}