summaryrefslogtreecommitdiff
path: root/source/modules
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-06-12 12:36:15 +0200
committerKarolin Seeger <kseeger@samba.org>2008-06-12 13:18:52 +0200
commit345309b1b2c8e251f9fbba7a8486975f50ea7dd1 (patch)
tree1af9461ed09bbb1ef4e1bb7f2c4a9c379b26f263 /source/modules
parent0a10b3f2048c750f64702e982a293746bcc924c5 (diff)
downloadsamba-345309b1b2c8e251f9fbba7a8486975f50ea7dd1.tar.gz
AIX build fixes from William Jojo -- thanks
(cherry picked from commit cb91a47576e820390bc62195702aaae93a2feba6)
Diffstat (limited to 'source/modules')
-rw-r--r--source/modules/vfs_aixacl2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/modules/vfs_aixacl2.c b/source/modules/vfs_aixacl2.c
index 996adbbdfe3..ecb2a096b92 100644
--- a/source/modules/vfs_aixacl2.c
+++ b/source/modules/vfs_aixacl2.c
@@ -27,7 +27,7 @@
extern struct current_user current_user;
extern int try_chown(connection_struct *conn, const char *fname, uid_t uid, gid_t gid);
-extern bool unpack_nt_owners(int snum, uid_t *puser, gid_t *pgrp,
+extern NTSTATUS unpack_nt_owners(int snum, uid_t *puser, gid_t *pgrp,
uint32 security_info_sent, SEC_DESC *psd);
extern SMB_ACL_T aixacl_to_smbacl( struct acl *file_acl);
@@ -192,7 +192,7 @@ static NTSTATUS aixjfs2_get_nt_acl(vfs_handle_struct *handle,
if (retryPosix)
{
DEBUG(10, ("retrying with posix acl...\n"));
- return posix_get_nt_acl(handle->conn, name security_info,
+ return posix_get_nt_acl(handle->conn, name, security_info,
ppdesc);
}
if (result==False)