Andrea Gabellini escreveu:
Hi,
I'm using the post-auth section to log user's attempt. Is it possible, in case of REJECT, to log the full description of the rejection instead of the useless 'Access-Reject' string?
I added a "message" field to the table and use the following query:
"INSERT into ${postauth_table} (id, user, pass, reply, message, date, callingstationid) values ('', '%{User-Name}', '%{User-Password}', '%{reply:Packet-Type}', REPLACE(REPLACE('%{reply:Reply-Message}', '=5Cr', ''), '=5Cn', ''), NOW(), '%{Calling-Station-Id}')"
Hope that helps, Keith Yoder
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

