diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-01-01 04:25:46 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:07:53 -0500 |
commit | d4b16573966d2b5e45a3a83d75fe0827ce9dc4be (patch) | |
tree | 6ba6a1e46e64aaa7457e0c9494e8827651bcbf8c /source4/ntvfs/posix/vfs_posix.c | |
parent | 3b21422ae8d24b882db660e910b6ee71bcdb7032 (diff) | |
download | samba-d4b16573966d2b5e45a3a83d75fe0827ce9dc4be.tar.gz samba-d4b16573966d2b5e45a3a83d75fe0827ce9dc4be.tar.bz2 samba-d4b16573966d2b5e45a3a83d75fe0827ce9dc4be.zip |
r4464: added pvfs backend support for the special CREATOR_OWNER and CREATOR_GROUP inheritance rules
(This used to be commit 0a29fb45c310b4b8c348d187b8ff1833deaac6c3)
Diffstat (limited to 'source4/ntvfs/posix/vfs_posix.c')
-rw-r--r-- | source4/ntvfs/posix/vfs_posix.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/vfs_posix.c b/source4/ntvfs/posix/vfs_posix.c index eecc379064..e5bdc3faae 100644 --- a/source4/ntvfs/posix/vfs_posix.c +++ b/source4/ntvfs/posix/vfs_posix.c @@ -26,6 +26,7 @@ #include "includes.h" #include "vfs_posix.h" +#include "librpc/gen_ndr/ndr_security.h" /* @@ -82,6 +83,9 @@ static void pvfs_setup_options(struct pvfs_state *pvfs) if (pvfs->flags & PVFS_FLAG_XATTR_ENABLE) { pvfs->fs_attribs |= FS_ATTR_PERSISTANT_ACLS; } + + pvfs->sid_cache.creator_owner = dom_sid_parse_talloc(pvfs, SID_CREATOR_OWNER); + pvfs->sid_cache.creator_group = dom_sid_parse_talloc(pvfs, SID_CREATOR_GROUP); } |