For the vfs_acl_xattr.c module, make sure we map GENERIC file and directory bits
commitbfea6268c1c39ef45313da955b829157fae3fb65
authorJeremy Allison <jra@samba.org>
Thu, 9 Oct 2008 01:10:57 +0000 (8 18:10 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 15 Oct 2008 16:06:02 +0000 (15 18:06 +0200)
tree28375b6b32715b2b02803b15fcd5b2d315832b38
parent94553dd1eb5774543fd3bf3c7a385be952d0ee72
For the vfs_acl_xattr.c module, make sure we map GENERIC file and directory bits
to specific bits every time a security descriptor is set. The S4 torture suite proves
that generic bits are not returned when querying an ACL set using them (ie. only
the specific bits are stored on disk).
Jeremy.
(cherry picked from commit 306b507c3ba1b864b6d66f9438f91f979b02030f)
source/include/proto.h
source/lib/util_seaccess.c
source/rpc_server/srv_srvsvc_nt.c
source/smbd/nttrans.c
source/smbd/open.c