summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/samba/upgradehelpers.py
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2010-08-19 12:33:57 +0400
committerMatthieu Patou <mat@matws.net>2010-08-19 15:59:05 +0400
commit6e7d6844620936cf5394c3d35ac1c8c8c5d042fc (patch)
tree60ef51f277c79d61a1e8a380f8b9bd62e9aeaf70 /source4/scripting/python/samba/upgradehelpers.py
parent2cadfe8f2a3c0a4cf200288f0b6123eca866c510 (diff)
downloadsamba-6e7d6844620936cf5394c3d35ac1c8c8c5d042fc.tar.gz
samba-6e7d6844620936cf5394c3d35ac1c8c8c5d042fc.tar.xz
samba-6e7d6844620936cf5394c3d35ac1c8c8c5d042fc.zip
s4 provision: Add some documentation to GPO related functions
Diffstat (limited to 'source4/scripting/python/samba/upgradehelpers.py')
-rwxr-xr-xsource4/scripting/python/samba/upgradehelpers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/python/samba/upgradehelpers.py b/source4/scripting/python/samba/upgradehelpers.py
index 7b09d4a4413..0a896d86252 100755
--- a/source4/scripting/python/samba/upgradehelpers.py
+++ b/source4/scripting/python/samba/upgradehelpers.py
@@ -33,7 +33,7 @@ from samba.dsdb import DS_DOMAIN_FUNCTION_2000
from ldb import SCOPE_SUBTREE, SCOPE_ONELEVEL, SCOPE_BASE
import ldb
from samba.provision import (ProvisionNames, provision_paths_from_lp,
- getpolicypath, set_gpo_acl, create_gpo_struct,
+ getpolicypath, set_gpos_acl, create_gpo_struct,
FILL_FULL, provision, ProvisioningError,
setsysvolacl, secretsdb_self_join)
from samba.dcerpc import misc, security, xattr
@@ -701,7 +701,7 @@ def update_gpo(paths, samdb, names, lp, message, force=0):
# We always reinforce acls on GPO folder because they have to be in sync
# with the one in DS
try:
- set_gpo_acl(paths.sysvol, names.dnsdomain, names.domainsid,
+ set_gpos_acl(paths.sysvol, names.dnsdomain, names.domainsid,
names.domaindn, samdb, lp)
except TypeError, e:
message(ERROR, "Unable to set ACLs on policies related objects,"