@aftix:matrix.org | In reply to @aftix:matrix.org what's the magic to get LDAP auth to work on hydra? looking at the debug logs, my hydra can bind, correctly find the LDAP user, correctly find the LDAP groups, and then send the correct password to re-bind as the LDAP user (which works with ldapwhoami), but logging into my admin account gives "bad username or password" and my user account gives "no attribute cn for User" (there is a CN attribute according to ldapsearch and my hydra configuration doesn't mention CN anyway, just name) The magic was that I needed to configure the LDAP backend to always grab the attributes listed here https://github.com/NixOS/hydra/blob/d5ad16abc294b654d6a6922e5d371c366b7da71a/t/lib/LDAPContext.pm#L84 | 04:20:09 |