Freeradius, mysql, please help!!!
Laker Netman
laker_netman at yahoo.com
Wed Apr 12 21:23:05 CEST 2006
--- YvesDM <ydmlog at gmail.com> wrote:
> On 4/12/06, Alan DeKok <aland at nitros9.org> wrote:
> >
> > YvesDM <ydmlog at gmail.com> wrote:
> > > mysql> select * from radcheck;
> > >
> >
>
+----+----------+---------------+----+------------------------------------+
> > > | id | UserName | Attribute | op |
> > Value |
> > >
> >
>
+----+----------+---------------+----+------------------------------------+
> > > | 1 | steve | User-Password | :=3D |
> > $1$nyiGAEuR$5wcFr5bT7SfkVjIChnbZo0=
> > > |
> >
> > These are *not* clear-text passwords. They're
> encrypted
> > passwords. Change the attribute name to
> Crypt-Password, and it should
> > work.
> >
> > Alan DeKok.
>
>
>
> Tnx for the reply, but it didn't solve my problem.
>
> mysql> select * from radcheck;
>
+----+----------+----------------+----+------------------------------------+
> | id | UserName | Attribute | op | Value
> |
>
+----+----------+----------------+----+------------------------------------+
> | 1 | steve | User-Password | := |
> $1$nyiGAEuR$5wcFr5bT7SfkVjIChnbZo0 |
> | 2 | maureen | Crypt-Password | := |
> $1$LTvKoOtc$X2fVg8uDqyP4.mU.iLNKm0 |
> | 3 | john | Crypt-Password | := |
> $1$bkW9WNor$tq5sRRiUcwOV4/fwk3CYM/ |
>
+----+----------+----------------+----+------------------------------------+
> 3 rows in set (0.00 sec)
>
> mysql> quit
> Bye
> radius:/usr/local/etc/raddb# radtest john test
> localhost 1812 testing123
> Sending Access-Request of id 213 to 127.0.0.1 port
> 1812
> User-Name = "john"
> User-Password = "test"
> NAS-IP-Address = 255.255.255.255
> NAS-Port = 1812
> Re-sending Access-Request of id 213 to 127.0.0.1
> port 1812
> User-Name = "john"
> User-Password = "test"
> NAS-IP-Address = 255.255.255.255
> NAS-Port = 1812
> rad_recv: Access-Reject packet from host
> 127.0.0.1:1812, id=213, length=20
> radius:/usr/local/etc/raddb# radtest maureen test
> localhost 1812 testing123
> Sending Access-Request of id 219 to 127.0.0.1 port
> 1812
> User-Name = "maureen"
> User-Password = "test"
> NAS-IP-Address = 255.255.255.255
> NAS-Port = 1812
> Re-sending Access-Request of id 219 to 127.0.0.1
> port 1812
> User-Name = "maureen"
> User-Password = "test"
> NAS-IP-Address = 255.255.255.255
> NAS-Port = 1812
> rad_recv: Access-Reject packet from host
> 127.0.0.1:1812, id=219, length=20
> radius:/usr/local/etc/raddb#
>
> Any other suggestions?
>
> Yves
> > -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
Try switching everything back to clear text, with
User-Password attribute and *clear text passwords* and
see if anybody can auth that way.
Laker
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Freeradius-Users
mailing list