AIX build fixes from William Jojo -- thanks
authorVolker Lendecke <vl@samba.org>
Thu, 12 Jun 2008 10:36:15 +0000 (12:36 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 12 Jun 2008 11:17:44 +0000 (13:17 +0200)
(cherry picked from commit cb91a47576e820390bc62195702aaae93a2feba6)
(This used to be commit 90d7bc6da3c92e104fadd5965a730fbe01be33d5)

source3/include/includes.h
source3/modules/vfs_aixacl2.c

index adbf8f791df81aa17feb5895fd626f7528ab74eb..c937f597cd8b9ae9cb32f531d37a1ae5ea966c54 100644 (file)
@@ -777,6 +777,7 @@ enum flush_reason_enum {
     NUM_FLUSH_REASONS};
 
 #include "nss_info.h"
+#include "modules/nfs4_acls.h"
 #include "nsswitch/libwbclient/wbclient.h"
 
 /* generated rpc server implementation functions */
index 62675ae631e1b13eb67cea0f74e0036bfcd24735..ffcec7ccaacb3353ea6f99e95f32f5127d3faf14 100644 (file)
@@ -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)