Hi people, I'm Portuguese student ! I have a big problem to solve. I have my freeradius, thats authenticates users by mysql database. I have passwords encrypted with MD5, but when i test, the Login is always Incorrect ! If password is clear, the freeradius works OK ! In the attachment i put my config files. My only query to create "new user" is: *INSERT INTO radcheck (username, attribute, op, value) VALUES ('5','MD5-Password', '==', MD5('teste'));* I have create many users, in different ways ! please look: mysql> SELECT id,UserName,Attribute,Value,op FROM radcheck; +----+----------+----------------+----------------------------------+----+ | id | UserName | Attribute | Value | op | +----+----------+----------------+----------------------------------+----+ | 1 | teste | Password | teste | == | | 2 | 1 | Password | 698dc19d489c4e4db73e28a713eab07b | == | | 3 | 2 | Password | 698dc19d489c4e4db73e28a713eab07b | == | | 4 | 3 | User-Password | 698dc19d489c4e4db73e28a713eab07b | == | | 5 | 4 | Crypt-Password | 698dc19d489c4e4db73e28a713eab07b | == | | 6 | 5 | MD5-Password | 698dc19d489c4e4db73e28a713eab07b | == | +----+----------+----------------+----------------------------------+----+ I have read, many many times the "man rlm_pap" but i don't know where i put the headers (i.e {md5} {clear} etc...) !!! please help me to solve this big truble !!! =/ I need this to put my freeradius authenticate users, and the passwords in Mysql DB have to be encrypted !! Sorry for my poor english ! =/ Big thks Regards, Diogo Teixeira