Huh. Here's my complete SQL query: postauth_query = "INSERT INTO ${postauth_table} \ (username, pass, reply, authdate, message, nasipaddress) \ VALUES ( \ '%{User-Name}', \ '%{%{User-Password}:-%{Chap-Password}}', \ '%{reply:Packet-Type}', '%S', \ '%{Module-Failure-Message}', \ '%{NAS-IP-Address}')" I did not add this yet: post-auth { ... update reply { Reply-Message += "You got: %{Module-Failure-Message}" } ... } Do I need that entry in the post-auth block? %{Module-Failure-Message} doesn't seem to be available by default in rlm_sql. --Aaron On 4/28/2010 2:57 PM, Alan DeKok wrote:
Aaron Paetznick wrote:
%{Module-Failure-Message} seems to be empty for me. Is there a scope/prefix I should try?
Hmm... it *should* be there along with the packet attributes.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html