Werk #11481: LDAP: Fix AttributeError if attribute "Disable Notifications" is used
Component | User interface |
Title | LDAP: Fix AttributeError if attribute "Disable Notifications" is used |
Date | Sep 23, 2020 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 1.6.0p18 2.0.0i1 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - no manual interaction needed |
If you used the option "LDAP attribute to sync" for "Disable Notifications" in a LDAP connection, the Users page crashes with "AttributeError ('unicode' object has no attribute 'get')".
The reason is, that the attribute from the LDAP sync is a boolean, that returns "TRUE" or "FALSE" in unicode.
From now on, the GUI can handle this kind of format.