!zghijEASpYQWYFzriI:nixos.org

Hydra

368 Members
108 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
10 Apr 2025
@janne.hess:helsinki-systems.dedas_j invited @simon.hauser:helsinki-systems.deSimon Hauser.08:25:49
@simon.hauser:helsinki-systems.deSimon Hauser joined the room.08:25:58
11 Apr 2025
@aftix:matrix.org@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

Show newer messages


Back to Room ListRoom Version: 6