19 May
2025
19 May
'25
12:10 p.m.
On May 19, 2025, at 7:07 AM, thomas <thomas.nodon@gmail.com> wrote:
I have a question regarding Post-Auth-Type REJECT, it correctly logs Login incorrect, but the &Module-Failure-Message is ambiguous for our needs when it comes to troubleshooting.
You can always check the return code of the LDAP module, and then manually add a message.
Is it possible to log something along the lines of "LDAP user not found" without making custom loglines? I believe this was possible on FreeRADIUS 2.x.x.
I don't recall that being part of v2. But it's easy enough to add in unlang: ldap if (notfound) { ... add a message here. } Alan DeKok.