Module: check_mk
Branch: master
Commit: eb49b77e425b63740df8df62a652332c11595e97
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=eb49b77e425b63…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Nov 12 15:47:54 2013 +0100
Fixed shortly introduced encoding error
---
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 a73ca1d..e7aa448 100644
--- a/web/plugins/userdb/ldap.py
+++ b/web/plugins/userdb/ldap.py
@@ -560,7 +560,7 @@ def ldap_group_members(filters, filt_attr = 'cn', nested =
False):
'cn' : cn,
}
for user_dn, obj in
ldap_search(ldap_replace_macros(config.ldap_userspec['dn']), filt, columns =
['dn']):
- groups[dn]['members'].append(user_dn.encode('utf-8'))
+ groups[dn]['members'].append(user_dn)
g_ldap_group_cache[cache_key] = groups
return groups