mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
Complain if we are told to use an ldap backend, without the type
(This used to be commit e9c3c9ad82
)
This commit is contained in:
@ -503,6 +503,8 @@ def setup_samdb_partitions(samdb_path, setup_path, message, lp, session_info,
|
||||
backend_modules = ["normalise", "entryuuid", "paged_searches"]
|
||||
# OpenLDAP handles subtree renames, so we don't want to do any of these things
|
||||
tdb_modules_list = None
|
||||
elif ldap_backend is not None:
|
||||
raise "LDAP Backend specified, but LDAP Backend Type not specified"
|
||||
elif serverrole == "domain controller":
|
||||
backend_modules = ["repl_meta_data"]
|
||||
else:
|
||||
|
Reference in New Issue
Block a user