From: Steven Danneman Date: Mon, 1 Dec 2008 00:26:10 +0000 (-0800) Subject: Make nt4_compatible_acls() non-static for use by VFS ACL modules. X-Git-Tag: samba-4.0.0alpha6~480^2~51 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=7bd7846df7a28b9a066fd4d862de0e4d81aadb86 Make nt4_compatible_acls() non-static for use by VFS ACL modules. --- diff --git a/source3/include/proto.h b/source3/include/proto.h index 2dd9b61b561..4bc524f40a7 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -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, diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index 0529d2765e0..97fd3b2bbe9 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -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();