summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2009-11-18 21:07:25 +0300
committerAndrew Bartlett <abartlet@samba.org>2010-01-21 07:11:14 +1300
commit028c9b1c154ce9b5d7876df76b04aba1f976d1a2 (patch)
tree7dee49a4c50c4fbc4da91635b75fb972383cf278 /source4/setup
parent08c59c38a2b117b2f2481cc6a02186b7df6305f2 (diff)
downloadsamba-028c9b1c154ce9b5d7876df76b04aba1f976d1a2.tar.gz
samba-028c9b1c154ce9b5d7876df76b04aba1f976d1a2.tar.bz2
samba-028c9b1c154ce9b5d7876df76b04aba1f976d1a2.zip
s4: regroup gpo modification in one function, set acl on files accordingly with ACL in LDAP
Diffstat (limited to 'source4/setup')
-rwxr-xr-xsource4/setup/provision3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/setup/provision b/source4/setup/provision
index b855dc2f30..ada976be28 100755
--- a/source4/setup/provision
+++ b/source4/setup/provision
@@ -110,6 +110,7 @@ parser.add_option("--slapd-path", type="string", metavar="SLAPD-PATH",
parser.add_option("--setup-ds-path", type="string", metavar="SETUP_DS-PATH",
help="Path to setup-ds.pl script for Fedora DS LDAP backend [e.g.:'/usr/sbin/setup-ds.pl']. Required for Setup with Fedora DS backend.")
parser.add_option("--nosync", help="Configure LDAP backend not to call fsync() (for performance in test environments)", action="store_true")
+parser.add_option("--setfileacl", help="Set NT ACL on files", action="store_true")
parser.add_option("--ldap-dryrun-mode", help="Configure LDAP backend, but do not run any binaries and exit early. Used only for the test environment. DO NOT USE", action="store_true")
opts = parser.parse_args()[0]
@@ -219,4 +220,4 @@ provision(setup_dir, message,
backend_type=opts.ldap_backend_type,
ldapadminpass=opts.ldapadminpass, ol_mmr_urls=opts.ol_mmr_urls,
slapd_path=opts.slapd_path, setup_ds_path=opts.setup_ds_path,
- nosync=opts.nosync,ldap_dryrun_mode=opts.ldap_dryrun_mode)
+ nosync=opts.nosync,ldap_dryrun_mode=opts.ldap_dryrun_mode,setfileacl=opts.setfileacl)