Alex Savguira wrote:
> Having
>  pap pap{
>                 encryption_scheme = crypt
>         }
>  pap papplain{
>                 encryption_scheme = clear
>         }
> 

If I understand you, then you are redoing what the server already does.
 FreeRADIUS knows which scheme to use based on the attribute in the
users file or SQL:

username Password := blah
or
username Crypt-Password := $1$blah

If it sees, the first, it knows that "blah" is the clear password it
needs to check against.  If it sees the second, it knows that it is crypted.

-- 
Dennis Skinner
Systems Administrator
BlueFrog Internet
http://www.bluefrog.com
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to