Hi Michael + group,

Tanks! It works great now. I properly just need another cup of coffee...

\raymond

-----Original Message-----
From: Michael Markstaller [mailto:[EMAIL PROTECTED] 
Sent: 10. september 2004 11:41
To: [EMAIL PROTECTED]
Subject: RE: Logging Access-Reject in SQL

sure, nothing is impossible. my sql.conf looks something like this:

       # Allow for storing data after authentication
        postauth_table = "radpostauth"

        postauth_query = "INSERT into ${postauth_table} (id, user, pass,
reply, date) values ('', '%{User-Name}',
'%{User-Password:-Chap-Password}', '%{reply:Packet-Type}', NOW())"

and in radiusd.conf
post-auth {
...
        #  See "Authentication Logging Queries" in sql.conf
        sql

        #
        #  Access-Reject packets are sent through the REJECT sub-section
        #  of the post-auth section.
        #
        Post-Auth-Type REJECT {
                sql
        }
...


Michael


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Raymond Myren
> Sent: Friday, September 10, 2004 11:09 AM
> To: [EMAIL PROTECTED]
> Subject: Logging Access-Reject in SQL
> 
> 
> Hi group,
> 
> Is it possible to get FreeRadius to log Access-Reject in the 
> radpostauth
> sql table? Any hints are welcome.
> 
> 
> 
> \raymond
> 
> 
> 
> 
> 
> --- auto-converted to plaintext by ELAB4
> 
> 

- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to