diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-04-15 15:52:52 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-04-15 15:52:52 +0200 |
commit | f8f4856ab7330db865d1a35abff3ccaf2ac277ba (patch) | |
tree | 19d33c0e3c8dad2dbb5e59db5592e49a6756fdee | |
parent | 1a8bfba5452f7b72d9f0b2a178f7e8a66557c463 (diff) | |
download | samba-f8f4856ab7330db865d1a35abff3ccaf2ac277ba.tar.gz samba-f8f4856ab7330db865d1a35abff3ccaf2ac277ba.tar.bz2 samba-f8f4856ab7330db865d1a35abff3ccaf2ac277ba.zip |
Fix provision-backend script
Andrew Bartlett
(This used to be commit ee6e4f8da229ddeca856a6db94236367aae06f63)
-rw-r--r-- | source4/scripting/python/samba/provision.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py index a8d188e7a3..45965a2429 100644 --- a/source4/scripting/python/samba/provision.py +++ b/source4/scripting/python/samba/provision.py @@ -1166,6 +1166,7 @@ def provision_backend(setup_dir=None, message=None, "NETBIOSNAME": names.netbiosname, "DEFAULTSITE": DEFAULTSITE, "CONFIGDN": names.configdn, + "SERVERDN": names.serverdn }) setup_add_ldif(schemadb, setup_path("schema_samba4.ldif"), @@ -1241,9 +1242,9 @@ refint_attributes""" + refint_attributes + "\n"; setup_file(setup_path("modules.conf"), paths.modulesconf, {"REALM": names.realm}) - setup_db_config(setup_path, file, os.path.join(paths.ldapdir, "user")) - setup_db_config(setup_path, file, os.path.join(paths.ldapdir, "config")) - setup_db_config(setup_path, file, os.path.join(paths.ldapdir, "schema")) + setup_db_config(setup_path, os.path.join(paths.ldapdir, "user")) + setup_db_config(setup_path, os.path.join(paths.ldapdir, "config")) + setup_db_config(setup_path, os.path.join(paths.ldapdir, "schema")) mapping = "schema-map-openldap-2.3" backend_schema = "backend-schema.schema" |