mirror of
https://github.com/samba-team/samba.git
synced 2025-07-16 20:59:12 +03:00
Fix provision-backend script
Andrew Bartlett
(This used to be commit ee6e4f8da2
)
This commit is contained in:
@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user