LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Freeradius no Access-Reject messages (https://www.linuxquestions.org/questions/linux-software-2/freeradius-no-access-reject-messages-919643/)

i_nomad 12-20-2011 05:27 AM

Freeradius no Access-Reject messages
 
Hi, just a niggly annoying one..

I am running freeradius-2.1.10. This is integrated with my_sql.

On using bad username, password I am seeing no Access-Reject messages. Access-Access are fine. I need to find out why this...

In radiusd.conf I have:
auth_badpass = yes and auth_goodpass = yes

In /etc/raddb/modules I have
reply_log {
detailfile = ${radacctdir}/%{Client-IP-Address}/reply-detail-%Y%m%d
detailperm = 0600
}

In /etc/raddb/sites-enabled/default in

post-auth {
reply_log

I believe the Access-Reject message should appear in this log.

Can someone please help out..

Regards

i_nomad 12-20-2011 08:17 AM

Entry missing..
 
http://freeradius.org/radiusd/doc/Post-Auth-Type

In /etc/raddb/sites-enabled/default need to add similar to:

post-auth {
my_sql_accept
Post-Auth-Type REJECT {
my_sql_reject
}
}


All times are GMT -5. The time now is 12:04 PM.