Re: Problem in setting up radius database in sql
your freeradius seems to be compiled/installed without the mysql extensions rlm_sql_mysql
I'm sorry but how to compile/install it using mysql extensions rlm_sql_mysql... can u plz guide me.. i cant find any help on internet. Regards, Saeed Akhtar On Thu, Nov 20, 2008 at 1:43 PM, Alexandre Chapellon < alexandre.chapellon@mana.pf> wrote:
your freeradius seems to be compiled/installed without the mysql extensions rlm_sql_mysql - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
http://wiki.freeradius.org/index.php/FreeRADIUS_Wiki:FAQ#It_says_.22Could_no... Ivan Kalik Kalik Informatika ISP Dana 20/11/2008, "Saeed Akhtar" <saeedakhtar.484@gmail.com> piše:
I'm sorry but how to compile/install it using mysql extensions rlm_sql_mysql... can u plz guide me.. i cant find any help on internet. Regards,
Saeed Akhtar
On Thu, Nov 20, 2008 at 1:43 PM, Alexandre Chapellon < alexandre.chapellon@mana.pf> wrote:
your freeradius seems to be compiled/installed without the mysql extensions rlm_sql_mysql - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
I install the freeradius and mysql with the rpm packages, in the default way. nothing special to mention. 在2008-11-20,"Saeed Akhtar" <saeedakhtar.484@gmail.com> 写道: I'm sorry but how to compile/install it using mysql extensions rlm_sql_mysql... can u plz guide me.. i cant find any help on internet. Regards, Saeed Akhtar On Thu, Nov 20, 2008 at 1:43 PM, Alexandre Chapellon <alexandre.chapellon@mana.pf> wrote: your freeradius seems to be compiled/installed without the mysql extensions rlm_sql_mysql - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
I agree.... but in my case it was because a package mysql-dev was missing... when i installed it. everthing went good. Regards, Saeed Akhtar 2008/11/20 dgluoyun <dgluoyun@163.com>
I install the freeradius and mysql with the rpm packages, in the default way. nothing special to mention.
在2008-11-20,"Saeed Akhtar" <saeedakhtar.484@gmail.com> 写道:
I'm sorry but how to compile/install it using mysql extensions rlm_sql_mysql... can u plz guide me.. i cant find any help on internet. Regards,
Saeed Akhtar
On Thu, Nov 20, 2008 at 1:43 PM, Alexandre Chapellon < alexandre.chapellon@mana.pf> wrote:
your freeradius seems to be compiled/installed without the mysql extensions rlm_sql_mysql - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
------------------------------ [广告] 金秋最关注楼盘-房不胜房 <http://popme.163.com/link/003985_1010_7027.html> - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi All I had a radius server setup which authenticated EAP-MD5 and EAP-TLS clients but as we had to support EAP-SIM client as well -We decided on moving to Freeradius-2.1.1. EAP-SIM worked really well and so did EAP-TLS on the new server-Ijust migrated the old files(USERS, CLIENT.CONF and EAP.CONF) to the new server and added EAP-SIM settings. Now we discovered that out EAP-MD5 clients were no more authenticated!!! I went through the settings to no avail- then by fluke I discovered(by fluke ofcourse!!) that if I change ... <foo@com Auth-Type :=EAP, User-Password := "bar"> to <foo@com Auth-Type :=EAP, Cleartext-Password := "bar"> in users file -My MD5 client were again authenticated!!! My question is - is there any reasoning to the above behavior or I have completly misunderstood how Freeradius conf works. Please suggest. Suraj ________________________________ From: Saeed Akhtar <saeedakhtar.484@gmail.com> To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Sent: Friday, 21 November, 2008 10:15:53 AM Subject: Re: Re: Problem in setting up radius database in sql I agree.... but in my case it was because a package mysql-dev was missing... when i installed it. everthing went good. Regards, Saeed Akhtar 2008/11/20 dgluoyun <dgluoyun@163.com> I install the freeradius and mysql with the rpm packages, in the default way. nothing special to mention. 在2008-11-20,"Saeed Akhtar" <saeedakhtar.484@gmail.com> 写道: I'm sorry but how to compile/install it using mysql extensions rlm_sql_mysql... can u plz guide me.. i cant find any help on internet. Regards, Saeed Akhtar On Thu, Nov 20, 2008 at 1:43 PM, Alexandre Chapellon <alexandre.chapellon@mana.pf> wrote: your freeradius seems to be compiled/installed without the mysql extensions rlm_sql_mysql - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html ________________________________ [广告] 金秋最关注楼盘-房不胜房 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
My question is - is there any reasoning to the above behavior or I have completly misunderstood how Freeradius conf works.
Yes. Password attribute was wrong. This was changed in 1.1.4 but 1.1.x continued to tolerate it. It's no longer tolerated in 2.x. You should also remove Auth-Type EAP form the user configuration. eap.conf: "Whatever you do, do NOT set 'Auth-Type := EAP'. The server is smart enough to figure this out on its own. The most common side effect of setting 'Auth-Type := EAP' is that the users then cannot use ANY other authentication method." Ivan Kalik Kalik Informatika ISP
Thanks... that solves another problem at my end!!! ----- Original Message ---- From: "tnt@kalik.net" <tnt@kalik.net> To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Sent: Friday, 21 November, 2008 4:55:00 PM Subject: Re: moving from Freeradius 1.1.7 to freeradius 2.1.0
My question is - is there any reasoning to the above behavior or I have completly misunderstood how Freeradius conf works.
Yes. Password attribute was wrong. This was changed in 1.1.4 but 1..1.x continued to tolerate it. It's no longer tolerated in 2.x. You should also remove Auth-Type EAP form the user configuration. eap.conf: "Whatever you do, do NOT set 'Auth-Type := EAP'. The server is smart enough to figure this out on its own. The most common side effect of setting 'Auth-Type := EAP' is that the users then cannot use ANY other authentication method." Ivan Kalik Kalik Informatika ISP - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
Now we discovered that out EAP-MD5 clients were no more authenticated!!! I went through the settings to no avail- then by fluke I discovered(by fluke ofcourse!!) that if I change ...
<foo@com    Auth-Type :=EAP, User-Password := "bar"> to <foo@com    Auth-Type :=EAP, Cleartext-Password := "bar"> in users file -My MD5 client were again authenticated!!!
PS. This is documented in users file, README, FAQ and plenty other places. If you would bother to read documentation included with the server fluke would have nothing to do with it. Ivan Kalik Kalik Informatika ISP
participants (5)
-
Alexandre Chapellon -
dgluoyun -
Saeed Akhtar -
Suraj Sharma -
tnt@kalik.net