Module: check_mk
Branch: master
Commit: 01daa037b04b031ae390713effa88007f870b4f0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=01daa037b04b03…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jun 26 16:06:59 2015 +0200
Fixed migrated default config for sync plugins
---
web/plugins/userdb/ldap.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/plugins/userdb/ldap.py b/web/plugins/userdb/ldap.py
index 93b5433..3807a88 100644
--- a/web/plugins/userdb/ldap.py
+++ b/web/plugins/userdb/ldap.py
@@ -1282,7 +1282,7 @@ def ldap_migrate_config():
'description' : _('This is the default LDAP connection.'),
'disabled' : 'ldap' not in getattr(config,
'user_connectors', []),
'cache_livetime' : getattr(config, 'ldap_cache_livetime', 300),
- 'active_plugins' : getattr(config, 'ldap_active_plugins',
['email', 'alias', 'auth_expire' ]),
+ 'active_plugins' : getattr(config, 'ldap_active_plugins', []) or
{'email': {}, 'alias': {}, 'auth_expire': {}},
'debug_log' : getattr(config, 'ldap_debug_log', False),
}