LDAPAccountManager / lam

LDAP Account Manager
Other
420 stars 66 forks source link

CustomFields: LDAP search select List: wrong value for empy option #334

Closed m-bach closed 1 month ago

m-bach commented 1 month ago

While working with a LDAP search select list field I hit a case where the empty option has a (seemingly random) value of another option. Which led to users unknowingly setting an arbitrary value for that field instead of not setting it all.

I debugged the issue a bit and found out, that this happens when the LDAP filter returns some entries that do not have the attribute.

gruberroland commented 1 month ago

Thanks a lot for your report. This will be fixed in the June release. As a workaround you can add the display/value attributes to the LDAP filter to make sure they are available.