summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-03-30 18:00:09 -0700
committerJeremy Allison <jra@samba.org>2011-03-30 18:01:19 -0700
commitf9a2f4f47c71e5054c05703e72c24f2f5a87d993 (patch)
tree9fa094086309602e548c577dd73e1d3f55d83873 /source3/smbd/proto.h
parentcf5ed92bb78806403a857b371ef15f985a4e2b64 (diff)
downloadsamba-f9a2f4f47c71e5054c05703e72c24f2f5a87d993.tar.gz
samba-f9a2f4f47c71e5054c05703e72c24f2f5a87d993.tar.bz2
samba-f9a2f4f47c71e5054c05703e72c24f2f5a87d993.zip
Fix bug #7996 - sgid bit lost on folder rename.
Refuse to set dos attributes into unix mode bits on such a folder.
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 9366ee6d89..f4b2e5ef59 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -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);