[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnu-radius] Authentication Mysql
From: |
Sergey Poznyakoff |
Subject: |
Re: [Help-gnu-radius] Authentication Mysql |
Date: |
Thu, 02 Sep 2004 13:34:36 +0300 |
Andrey Nikolaev <address@hidden> wrote:
> +-----------+---------+---------------+--------+
> | user_name | service | password | active |
> +-----------+---------+---------------+--------+
> | test | | fT1dA7C3ATl4U | Y |
> +-----------+---------+---------------+--------+
[...]
> 10:41:30 auth.c:292:rad_check_password: auth_type=3, userpass=test,
> name=test, password=UngwWSRhZySpc
Password returned by the query differs from that stored in the database.
Make sure you are connecting to the right database and using the right
table.
> 10:41:30 auth.c:322:rad_check_password: auth: Crypt
> 10:41:30 auth.c:333:rad_check_password: pwbuf: $2a$04$UngwWSR
[...]
> why password crypted function encrypt not equal password radiusd ?
The default format for crypt() function on your system is MD5. See
your /etc/auth.conf file (crypt_default statement).
> And what do ?
Use MD5 encryption in your SQL table.
Regards,
Sergey