summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-06-17 13:48:29 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-06-17 13:48:29 +0200
commit232fd06271d4012872e43a13dc67d2295555f65f (patch)
treece7780a073239b49ef8356fbeaebfcc2f6828fe6 /source4/scripting/python
parent8259cc592698942aa2c83564a3e2f1aa071d440e (diff)
parent310875e637fd237752770027b28675ed970352dd (diff)
downloadsamba-232fd06271d4012872e43a13dc67d2295555f65f.tar.gz
samba-232fd06271d4012872e43a13dc67d2295555f65f.tar.bz2
samba-232fd06271d4012872e43a13dc67d2295555f65f.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
(This used to be commit 30a33cd0a64c434d6aee551f641343c3b2a6d9ca)
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/samba/provision.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py
index 3f936c3301..93a4c8f502 100644
--- a/source4/scripting/python/samba/provision.py
+++ b/source4/scripting/python/samba/provision.py
@@ -1180,6 +1180,8 @@ def provision_backend(setup_dir=None, message=None,
schemadb = Ldb(schemadb_path, lp=lp)
+ prefixmap = open(setup_path("prefixMap.txt"), 'r').read()
+
setup_add_ldif(schemadb, setup_path("provision_schema_basedn.ldif"),
{"SCHEMADN": names.schemadn,
"ACI": "#",
@@ -1191,7 +1193,8 @@ def provision_backend(setup_dir=None, message=None,
"NETBIOSNAME": names.netbiosname,
"DEFAULTSITE": DEFAULTSITE,
"CONFIGDN": names.configdn,
- "SERVERDN": names.serverdn
+ "SERVERDN": names.serverdn,
+ "PREFIXMAP_B64": b64encode(prefixmap)
})
setup_add_ldif(schemadb, setup_path("schema_samba4.ldif"),