1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

s4-provision: do not skip setting the acls on sysvol

Autobuild-User(master): Matthieu Patou <mat@samba.org>
Autobuild-Date(master): Wed Oct  3 10:26:06 CEST 2012 on sn-devel-104
This commit is contained in:
Matthieu Patou 2012-10-02 14:30:25 -07:00 committed by Matthieu Patou
parent dfd3c31a3f
commit c1677e3b2f
2 changed files with 4 additions and 2 deletions

View File

@ -398,7 +398,7 @@ class cmd_domain_provision(Command):
backend_type=ldap_backend_type,
ldapadminpass=ldapadminpass, ol_mmr_urls=ol_mmr_urls,
useeadb=eadb, next_rid=next_rid, lp=lp, use_ntvfs=use_ntvfs,
use_rfc2307=use_rfc2307)
use_rfc2307=use_rfc2307, skip_sysvolacl=False)
except ProvisioningError, e:
raise CommandError("Provision failed", e)

View File

@ -1607,7 +1607,7 @@ def provision_fill(samdb, secrets_ldb, logger, names, paths,
invocationid=None, machinepass=None, ntdsguid=None,
dns_backend=None, dnspass=None,
serverrole=None, dom_for_fun_level=None,
am_rodc=False, lp=None, use_ntvfs=False, skip_sysvolacl=True):
am_rodc=False, lp=None, use_ntvfs=False, skip_sysvolacl=False):
# create/adapt the group policy GUIDs
# Default GUID for default policy are described at
# "How Core Group Policy Works"
@ -1649,6 +1649,8 @@ def provision_fill(samdb, secrets_ldb, logger, names, paths,
setsysvolacl(samdb, paths.netlogon, paths.sysvol, paths.root_uid,
paths.wheel_gid, domainsid, names.dnsdomain,
names.domaindn, lp, use_ntvfs)
else:
print "Setting acl on sysvol skipped"
secretsdb_self_join(secrets_ldb, domain=names.domain,
realm=names.realm, dnsdomain=names.dnsdomain,