Is it possible to make PAP module understand both CRYPT (MD5) and plaintext passwords?
Alex Savguira
savguira at gmail.com
Sun Feb 26 21:34:27 CET 2006
Having
pap pap{
encryption_scheme = crypt
}
pap papplain{
encryption_scheme = clear
}
....
Auth-Type PAP {
pap
}
Auth-Type PAPPLAIN {
papplain
}
in radiusd.conf
having
user1 Crypt-Password := blablaencrypted
user2 User-Password := blablacleartext
in radcheck table.
having
pptp Auth-Type := PAPPLAIN
dialup Auth-Type := pap
in radgroupcheck
having
user1 ppttp
user2 dialup
in user groups...
In fact I have added extra logic to the custom dialup-admin clone I am
running to make it select the right attribute and ecnryption scheme or
none for user depending on his/her membership in a certain group.
Regards
Alex.
More information about the Freeradius-Users
mailing list