diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-10-09 11:13:49 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:20:52 -0500 |
commit | 2338e978322510d5b6def6edac40a868e4945d2e (patch) | |
tree | f040d75a6ba906d6bfebce3ad35dd19ee588d0db /source4/ntvfs/posix/vfs_posix.c | |
parent | 0019163d85fce2e83cd3e6193479b59e88d37d98 (diff) | |
download | samba-2338e978322510d5b6def6edac40a868e4945d2e.tar.gz samba-2338e978322510d5b6def6edac40a868e4945d2e.tar.bz2 samba-2338e978322510d5b6def6edac40a868e4945d2e.zip |
r19199: split out the xattr NTACL code into a separate part of the posix
backend, allowing other ACL backends to be added. The xattr backend is
still the default backend
(This used to be commit 90f044e63b12d32228310c7529382198bd7e6dfe)
Diffstat (limited to 'source4/ntvfs/posix/vfs_posix.c')
-rw-r--r-- | source4/ntvfs/posix/vfs_posix.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/vfs_posix.c b/source4/ntvfs/posix/vfs_posix.c index 975649eeb5..ad47908b6e 100644 --- a/source4/ntvfs/posix/vfs_posix.c +++ b/source4/ntvfs/posix/vfs_posix.c @@ -113,6 +113,9 @@ static void pvfs_setup_options(struct pvfs_state *pvfs) if (pvfs->flags & PVFS_FLAG_XATTR_ENABLE) { pvfs_xattr_probe(pvfs); } + + /* enable an ACL backend */ + pvfs->acl_ops = pvfs_acl_backend_byname(share_string_option(scfg, PVFS_ACL, "xattr")); } static int pvfs_state_destructor(struct pvfs_state *pvfs) |