1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

Fix provision-backend script

Andrew Bartlett
(This used to be commit ee6e4f8da2)
This commit is contained in:
Andrew Bartlett
2008-04-15 15:52:52 +02:00
parent 1a8bfba545
commit f8f4856ab7

View File

@ -1166,6 +1166,7 @@ def provision_backend(setup_dir=None, message=None,
"NETBIOSNAME": names.netbiosname, "NETBIOSNAME": names.netbiosname,
"DEFAULTSITE": DEFAULTSITE, "DEFAULTSITE": DEFAULTSITE,
"CONFIGDN": names.configdn, "CONFIGDN": names.configdn,
"SERVERDN": names.serverdn
}) })
setup_add_ldif(schemadb, setup_path("schema_samba4.ldif"), 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, setup_file(setup_path("modules.conf"), paths.modulesconf,
{"REALM": names.realm}) {"REALM": names.realm})
setup_db_config(setup_path, file, os.path.join(paths.ldapdir, "user")) setup_db_config(setup_path, os.path.join(paths.ldapdir, "user"))
setup_db_config(setup_path, file, os.path.join(paths.ldapdir, "config")) setup_db_config(setup_path, 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, "schema"))
mapping = "schema-map-openldap-2.3" mapping = "schema-map-openldap-2.3"
backend_schema = "backend-schema.schema" backend_schema = "backend-schema.schema"