[Kimchi-devel] [PATCHv2] issue#474: Add default value for ldap_admin_id

lvroyce at linux.vnet.ibm.com lvroyce at linux.vnet.ibm.com
Wed Dec 10 07:19:06 UTC 2014


From: Royce Lv <lvroyce at 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 at 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




More information about the Kimchi-devel mailing list