himmelblau-idm / himmelblau

Azure Entra ID Authentication, with PAM and NSS modules.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Local authentication is slow with himmelblau pam configured

dmulder opened this issue · comments

The daemon is failing to parse a domain name from the local user, which causes the daemon to panic and terminate the socket connection. This causes the pam module to hang until timeout (which is about 60 seconds it seems). This can be very annoying. We should return a failed authentication if we can't parse the user.

The daemon now responds promptly with a rejected authentication and logs a message to debug indicating the username appears to be a local user.