From: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
Add default value for ldap_admin_id so that kimchi will not raise
error for ldap log in.
Signed-off-by: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
---
src/kimchi/config.py.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/kimchi/config.py.in b/src/kimchi/config.py.in
index 88de1aa..83a5dd0 100644
--- a/src/kimchi/config.py.in
+++ b/src/kimchi/config.py.in
@@ -290,6 +290,7 @@ def _get_config():
config.set("authentication", "ldap_server", "")
config.set("authentication", "ldap_search_base", "")
config.set("authentication", "ldap_search_filter", "")
+ config.set("authentication", "ldap_admin_id", "")
config.add_section("logging")
config.set("logging", "log_dir", paths.log_dir)
config.set("logging", "log_level", DEFAULT_LOG_LEVEL)
--
1.8.3.2