git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dfba31
)
Complain if we are told to use an ldap backend, without the type
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 24 Jul 2008 22:45:16 +0000
(08:45 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 24 Jul 2008 22:45:16 +0000
(08:45 +1000)
source/scripting/python/samba/provision.py
patch
|
blob
|
history
diff --git
a/source/scripting/python/samba/provision.py
b/source/scripting/python/samba/provision.py
index 6eb47c8595d3bf656c172eb432512fea7f407296..67f8cf7cc201437f039d931a7e37b2189e4a5a27 100644
(file)
--- a/
source/scripting/python/samba/provision.py
+++ b/
source/scripting/python/samba/provision.py
@@
-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: