Hi, i�m using mysql+freeradius... but on auth using PAP in clear
  TEXT the Freeradius say�s "Password dont match"

  My radiusd.conf:

      pap {
                encryption_scheme = clear
        }
  
authorize {
        preprocess
        suffix
        sql
        }

authenticate {
        unix
        authtype PAP {
                pap   
        }
preacct {
        preprocess
        suffix
}
 
 
accounting {
        detail
        unix
        sql    
        radutmp
}
        
session {
        radutmp
        sql
}


my mysql tables are:

mysql> select * from radcheck;
+----+----------+-----------+-------+------+
| id | UserName | Attribute | Value | op   |
+----+----------+-----------+-------+------+
|  1 | dyego    | Password  | 123   | :=   |
+----+----------+-----------+-------+------+

mysql> select * from radgroupcheck;
+----+-----------+-----------+-------+------+
| id | GroupName | Attribute | Value | op   |
+----+-----------+-----------+-------+------+
|  1 | geral     | Auth-Type | PAP   | :=   |
+----+-----------+-----------+-------+------+
1 row in set (0.00 sec)

mysql> select * from radgroupreply;
+----+-----------+-----------+-------+------+------+
| id | GroupName | Attribute | Value | op   | prio |
+----+-----------+-----------+-------+------+------+
|  1 | geral     | Auth-Type | PAP   | NULL |    0 |
+----+-----------+-----------+-------+------+------+
1 row in set (0.00 sec)

mysql> select * from radreply;
Empty set (0.01 sec)

mysql> select * from usergroup;
+----+----------+-----------+
| id | UserName | GroupName |
+----+----------+-----------+
|  1 | dyego    | geral     |
+----+----------+-----------+
1 row in set (0.00 sec)



The command to test is :
./radtest dyego 123 localhost 0 nervermind

The Servers say:
auth: type "PAP"
rlm_pap: login attempt by "dyego" with password {�6�O�6CJק�?�"!
rlm_pap: Using password 123 for user dyego authentication.
rlm_pap: Using clear text password.
rlm_pap: Passwords don't match


The configuration is set to "clear password"... but what is
"{�6�O�6CJק�?�"!" ???

Why radius return "invalid password" in this case ?

Tnks for att...




-------------------------------------------------------------------------
  ++  Dyego Souza do Carmo   ++           Dep. Desenvolvimento   
-------------------------------------------------------------------------
                 E S C R I B A   I N F O R M A T I C A
-------------------------------------------------------------------------
The only stupid question is the unasked one (somewhere in Linux's HowTo)
Linux registred user : #230601
-- 
$ look into "my eyes"
look: cannot open my eyes
-------------------------------------------------------------------------
               Reply: [EMAIL PROTECTED]


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to