Re: Error in Radius.log
Zitat von LeRoy DeVries <dutch1918@gmail.com>:
On Monday 26 December 2005 06:15, Markus Krause wrote:
Zitat von LeRoy DeVries <dutch1918@gmail.com>:
I'm getting the following error in the radius log and don't know how to handle it. I assume it's handled somewhere within the radius.conf file but I can't find anything about it.
Sun Dec 25 09:28:07 2005 : Error: rlm_sql: Failed to create the pair: Unknown attribute "Max-All-Session"
add a line to your dictionary file (on suse: /etc/raddb/dictionary): ATTRIBUTE Max-All-Session 3000 integer
Thanks Markus... Now I'm getting the following
Mon Dec 26 08:13:56 2005 : Error: radiusd.conf: "SQL" modules aren't allowed in 'authenticate' sections -- they have no such method. yes, it is not intended to be used in this section ;-) i hope i did not use this in the example config file i sent you!
If I remove the sql from that section it doesn't complain. How does sql handle this. Also as a side note, I tried logging on using a wireless client and the loggin in "failed" both on the sql ( database is populated) and USERS (uncommented "steve") but I can't find any logs on why. what says freeradius if started in debug mode (freeradius -XA) ? and what says radtest?
regards markus -- Markus Krause email: krause@biochem.mpg.de Computing Center Tel.: 089 - 89 40 85 99 Group Lottspeich / Proteomics Fax.: 089 - 89 40 85 98 --------------------------------------------------------------------- This message was sent using https://webmail.biochem.mpg.de If you encounter any problems please report to rz-linux@biochem.mpg.de
On Monday 26 December 2005 12:41, Markus Krause wrote:
what says freeradius if started in debug mode (freeradius -XA) ? and what says radtest?
I'm finally making progress. Now I'm getting the following: modcall: group authorize returns ok for request 0 auth: type Local auth: user supplied User-Password does NOT match local User-Password auth: Failed to validate the user. even though the password that I entered in the login is correct. Now I'm really stuck. sigh!!!!! LeRoy
Zitat von LeRoy DeVries <dutch1918@gmail.com>:
On Monday 26 December 2005 12:41, Markus Krause wrote: I'm finally making progress. Now I'm getting the following:
modcall: group authorize returns ok for request 0 auth: type Local auth: user supplied User-Password does NOT match local User-Password auth: Failed to validate the user.
even though the password that I entered in the login is correct. i am not an expert but it seems that you (or some module) sets auth-type to local. what does your authorize and authenticate sections in radiusd.conf look like?
regards, markus -- Markus Krause email: krause@biochem.mpg.de Computing Center Tel.: 089 - 89 40 85 99 Group Lottspeich / Proteomics Fax.: 089 - 89 40 85 98 --------------------------------------------------------------------- This message was sent using https://webmail.biochem.mpg.de If you encounter any problems please report to rz-linux@biochem.mpg.de
On Monday 26 December 2005 16:02, Markus Krause wrote:
i am not an expert but it seems that you (or some module) sets auth-type to local. what does your authorize and authenticate sections in radiusd.conf look like?
Here is that portion authorize { preprocess chap mschap suffix sql noresetcounter } authenticate { Auth-Type PAP { pap } Auth-Type CHAP { chap } Auth-Type MS-CHAP { mschap } } the interface between the user and radius is done by a .cgi script -- LeRoy
On Monday 26 December 2005 16:17, LeRoy DeVries wrote:
On Monday 26 December 2005 16:02, Markus Krause wrote:
i am not an expert but it seems that you (or some module) sets auth-type to local. what does your authorize and authenticate sections in radiusd.conf look like?
Here is that portion
authorize { preprocess chap mschap suffix sql noresetcounter }
authenticate { Auth-Type PAP { pap }
Auth-Type CHAP { chap }
Auth-Type MS-CHAP { mschap }
}
the interface between the user and radius is done by a .cgi script
I found the problem. It was a password error between the Web Server and ChilliSpot captive portal. All is working as designed. Thanks for EVERYONES help here. I have learned alot and I appreciate it very much. Happy New Year -- LeRoy
participants (2)
-
LeRoy DeVries -
Markus Krause