Trying to get PAP authentication working with Chillispot and Freeradius.

I use the line -

print"<meta http-equiv='refresh' 
content=1;url=http://".$_SESSION[uamip].":".$_SESSION['uamport']."/logon?username=".$_SESSION['username']."&password=$pappassword&userurl=".$_SESSION[userurl].">";

to send the details to Chilli

Entered a MD5 password in the DB using php (md5($_SESSION[password]) -
SQL entries look like (I have the pap module set to encryption type
md5, this part is called ok) -

testuser        Auth-Type       :=      PAP-MD5
testuser        Simultaneous-Use        :=      1
testuser        Max-All-Session         :=      900
testuser        User-Password   :=      bcc720f2981d1a68dbd66ffd67560c37

Output from Freeradius is -

rad_check_password:  Found Auth-Type PAP-MD5
auth: type "PAP-MD5"
  Processing the authenticate section of radiusd.conf
modcall: entering group Auth-Type for request 3
rlm_pap: login attempt by "testuser" with password ��l??��"��]ĥ�O
rlm_pap: Using password "bcc720f2981d1a68dbd66ffd67560c37" for user
testuser authentication.
rlm_pap: Using MD5 encryption.
rlm_pap: Passwords don't match
  modcall[authenticate]: module "pap-md5" returns reject for request 3
modcall: group Auth-Type returns reject for request 3
auth: Failed to validate the user.
  WARNING: Unprintable characters in the password. ?  Double-check the
shared secret on the server and the NAS!
Delaying request 3 for 1 seconds
Finished request 3
Going to the next request

How does Chilli pass the password? I thought it had to go plain text
to Freeradius for PAP?? Bit stuck on this so any help appreciated....

Cheers

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

Reply via email to