Make nt4_compatible_acls() non-static for use by VFS ACL modules.
authorSteven Danneman <steven.danneman@isilon.com>
Mon, 1 Dec 2008 00:26:10 +0000 (16:26 -0800)
committerSteven Danneman <steven.danneman@isilon.com>
Mon, 1 Dec 2008 05:04:19 +0000 (21:04 -0800)
source3/include/proto.h
source3/smbd/posix_acls.c

index 2dd9b61b5615cbaea1f868827aac53bf80446f63..4bc524f40a7148b184e8e0f41994e20350527f71 100644 (file)
@@ -8226,6 +8226,7 @@ void reply_pipe_close(connection_struct *conn, struct smb_request *req);
 /* The following definitions come from smbd/posix_acls.c  */
 
 void create_file_sids(const SMB_STRUCT_STAT *psbuf, DOM_SID *powner_sid, DOM_SID *pgroup_sid);
+bool nt4_compatible_acls(void);
 NTSTATUS unpack_nt_owners(int snum, uid_t *puser, gid_t *pgrp, uint32 security_info_sent, const SEC_DESC *psd);
 SMB_ACL_T free_empty_sys_acl(connection_struct *conn, SMB_ACL_T the_acl);
 NTSTATUS posix_fget_nt_acl(struct files_struct *fsp, uint32_t security_info,
index 0529d2765e051e176a22d1509a0031e7f8a24516..97fd3b2bbe9aa26f374c0ec5a41945dab5fcf017 100644 (file)
@@ -870,7 +870,7 @@ static void merge_aces( canon_ace **pp_list_head )
  Check if we need to return NT4.x compatible ACL entries.
 ****************************************************************************/
 
-static bool nt4_compatible_acls(void)
+bool nt4_compatible_acls(void)
 {
        int compat = lp_acl_compatibility();