I have setup a Freeradius 0.9.0 server and store users information into MySQL, linux box Debian.
I try to authenticate PPP users using PPPoE but it does not work since the user password is garbage.
For example I get:
User-Name = "John"
User-Password = "\\\356\344\256\245\265\363z\006\260\306#^i\006c"
Login incorrect: [John/\\\356\344\256\245\265\363z\006\260\306#^i\006c]
instead of getting:
User-Name = "John"
User-Password = "usertestpassword"
Login OK: [John/usertestpassword]
Freeradius complains about:
WARNING: Unprintable characters in the password. ? Double-check the shared secret on the server and the NAS!
However radtest runs perfectly, I get an Access-Accept.
NTRadPing used on several LAN clients runs also correctly: Access-Accept.
But when I try to authenticate PPP users through PPPoE (rp-pppoe on linux box and RASPPPoE or PPPoE of MS) the user password is always garbage.
The docs and faq says:
"If the text AFTER the slash is garbage then the shared secret is wrong. Delete it on BOTH the NAS and the raddb/clients file and re-enter it. Do NOT check to see if they are the same, as there may be hidden spaces or other characters."
The secret is short (4 letters, to test) I tryed several time to change it, but it remains the same: password garbage.
Is that coming from /etc/pam.d/ppp bad llines ?Here is mine:
#%PAM-1.0
auth required pam_radius_auth.so
account required pam_permit.so
session required pam_radius_auth.so
While I am browsing mailing-list archive, if someone has an idea it would be welcome.
Thanks.
Mik
