Re: always received Access-Reject using mysql

2011-11-28 Thread Alan Buxey
Hi, > Sending Access-Request of id 13 to 127.0.0.1 port 1812 > User-Name = "usertest" > NAS-IP-Address = 10.1.1.28 > NAS-Port = 0 > MS-CHAP-Challenge = 0x7effa6d1eaf313a9 > MS-CHAP-Response = once again, you are looking at trivial client output. look at th

Re: always received Access-Reject using mysql

2011-11-27 Thread Bogi Aditya
On Mon, 28 Nov 2011 09:59:16 +0700, Fajar A. Nugraha wrote > Did you know you can use LDAP as backend for FR, thus allowing your > users to use the same user/password combination whether they're using > FR or LDAP directly? :D yes, I'm fully aware of that :) but the data in OpenLDAP is based on t

Re: always received Access-Reject using mysql

2011-11-27 Thread Fajar A. Nugraha
On Mon, Nov 28, 2011 at 9:40 AM, Bogi Aditya wrote: > thanks Fajar > > I've tried : > # radtest -t mschap usertest passtest localhost:1812 0 testing123 > Sending Access-Request of id 13 to 127.0.0.1 port 1812 >        User-Name = "usertest" >        NAS-IP-Address = 10.1.1.28 >        NAS-Port = 0

Re: always received Access-Reject using mysql

2011-11-27 Thread Bogi Aditya
thanks Fajar I've tried : # radtest -t mschap usertest passtest localhost:1812 0 testing123 Sending Access-Request of id 13 to 127.0.0.1 port 1812 User-Name = "usertest" NAS-IP-Address = 10.1.1.28 NAS-Port = 0 MS-CHAP-Challenge = 0x7effa6d1eaf313a9 MS-CHAP-R

Re: always received Access-Reject using mysql

2011-11-27 Thread Fajar A. Nugraha
On Mon, Nov 28, 2011 at 8:29 AM, Bogi Aditya wrote: > thanks Alan > > I found the problem was in the "attribute" field > where I put "Cleartext-Password" based on the wiki : > http://wiki.freeradius.org/SQL-HOWTO The example should be correct. From http://wiki.freeradius.org/SQL-HOWTO#Populating+

Re: always received Access-Reject using mysql

2011-11-27 Thread Bogi Aditya
thanks Alan I found the problem was in the "attribute" field where I put "Cleartext-Password" based on the wiki : http://wiki.freeradius.org/SQL-HOWTO after I changed the value to just "password" it works fine now. note: I put "==" in "op" field because that was the default value mysql> desc rad

Re: always received Access-Reject using mysql

2011-11-27 Thread Alan Buxey
Hi, > after I complete the installation, I tried to test it : > # radtest usertest passtest localhost:1812 0 testing123 > Sending Access-Request of id 180 to 127.0.0.1 port 1812 > User-Name = "usertest" > User-Password = "passtest" > NAS-IP-Address = 10.1.1.28 > NAS

always received Access-Reject using mysql

2011-11-27 Thread Bogi Aditya
dear Guru need your help on solving my problem with Authentication. I just install freeradius-server-2.1.10.tar.bz2 on FreeBSD 8.2 using MySQL 5.5 to store list of users. after I complete the installation, I tried to test it : # radtest usertest passtest localhost:1812 0 testing123 Sending Acces