diff options
author | Jeremy Allison <jra@samba.org> | 2009-11-06 21:53:07 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-11-06 21:53:07 -0800 |
commit | bd2ffb1c7a70ef9063b99a9318b3e185ddda84fe (patch) | |
tree | 339e9abab591fd8e27a24df1568743ef0fe20b05 /source3/param | |
parent | afc592402068da2a928dd9975a38a6b1ccf3919f (diff) | |
download | samba-bd2ffb1c7a70ef9063b99a9318b3e185ddda84fe.tar.gz samba-bd2ffb1c7a70ef9063b99a9318b3e185ddda84fe.tar.bz2 samba-bd2ffb1c7a70ef9063b99a9318b3e185ddda84fe.zip |
Fix bug 6865 - acl_xattr module: Has dependency that inherit acls = yes or xattrs are removed.
Jeremy.
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index c62deb5eda..b317dc6c8a 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -9843,3 +9843,11 @@ void lp_set_passdb_backend(const char *backend) { string_set(&Globals.szPassdbBackend, backend); } + +bool set_inherit_acls(int i) +{ + if (!LP_SNUM_OK(i)) { + return false; + } + ServicePtrs[(i)]->bInheritACLS = true; +} |