Complain if we are told to use an ldap backend, without the type
authorAndrew Bartlett <abartlet@samba.org>
Thu, 24 Jul 2008 22:45:16 +0000 (08:45 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 24 Jul 2008 22:45:16 +0000 (08:45 +1000)
(This used to be commit e9c3c9ad8289ee48efa998ab6b486250dcd40b52)

source4/scripting/python/samba/provision.py

index 6eb47c8595d3bf656c172eb432512fea7f407296..67f8cf7cc201437f039d931a7e37b2189e4a5a27 100644 (file)
@@ -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: