summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/scripting/python/samba/provision.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py
index e2abb05f68..39ae33bbe6 100644
--- a/source4/scripting/python/samba/provision.py
+++ b/source4/scripting/python/samba/provision.py
@@ -487,11 +487,11 @@ description: %s
for msg in self.parse_ldif(add):
self.add(msg[1])
- add_foreign(samdb, self.domaindn, "S-1-5-7", "Anonymous")
- add_foreign(samdb, self.domaindn, "S-1-1-0", "World")
- add_foreign(samdb, self.domaindn, "S-1-5-2", "Network")
- add_foreign(samdb, self.domaindn, "S-1-5-18", "System")
- add_foreign(samdb, self.domaindn, "S-1-5-11", "Authenticated Users")
+ add_foreign(samdb, domaindn, "S-1-5-7", "Anonymous")
+ add_foreign(samdb, domaindn, "S-1-1-0", "World")
+ add_foreign(samdb, domaindn, "S-1-5-2", "Network")
+ add_foreign(samdb, domaindn, "S-1-5-18", "System")
+ add_foreign(samdb, domaindn, "S-1-5-11", "Authenticated Users")
idmap.setup_name_mapping("S-1-5-7", idmap.TYPE_UID, nobody_uid)
idmap.setup_name_mapping("S-1-5-32-544", idmap.TYPE_GID, wheel_gid)