freeRADIUS, logging with "Access-Reject" not work in mysql table radpostauth
The table(radpostauth) is recorded only events "Access-Accept".
in the table(radpostauth) needed events "Acces-Reject"
Write syslog events "Access-Accept" is ok:
Login OK: [4C11BF3AAECC/pkz] (from client PKZ.DES320018.Kombikorm port 0 cli 4C-11-BF-3C-AA-CC)
write syslog enents "Acces-reject" is ok:
Login incorrect: [001D5241BA5B/pkz] (from client PKZ.DES320018.Kombi port 0 cli 00-1D-52-41-BA-5B)
Package / FreeRADIUS / Settings:
"Log Password on Authentication Failure" selected "Log"
Package / FreeRADIUS / SQL
"Enable SQL Post-Auth" is Enable
Sniffer shows that no queries to the table "radpostauth"
#4 Updated by Kill Bill over 2 years ago
Can you please test this patch? https://github.com/pfsense/FreeBSD-ports/commit/cdf9b05e966f311b8ae83c7a3158479bd5c9e7bf.patch
- Apply via System Patches (Path Strip Count = 4) or manually
- Check "Enable SQL Post-Auth" in Package / FreeRADIUS / SQL, click Save and see if it works. The line should be uncommented and info logged.
- Uncheck "Enable SQL Post-Auth" in Package / FreeRADIUS / SQL, click Save and check again - the line should be commented and the info not logged any more.