Fix bug #7996 - sgid bit lost on folder rename.
[nivanova/samba-autobuild/.git] / source3 / smbd / proto.h
index 9366ee6d894d3fe83a9fc19c2f1c334c16110602..f4b2e5ef5945a7c8bb43df44da3f24550a83fd0a 100644 (file)
@@ -684,6 +684,7 @@ uint32_t map_canon_ace_perms(int snum,
                                 mode_t perms,
                                 bool directory_ace);
 NTSTATUS unpack_nt_owners(connection_struct *conn, uid_t *puser, gid_t *pgrp, uint32 security_info_sent, const struct security_descriptor *psd);
+bool current_user_in_group(connection_struct *conn, gid_t gid);
 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,
                           struct security_descriptor **ppdesc);