[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: Is it possible to make PAP module understand both CRYPT (MD5)
From:       Dennis Skinner <dskinner () bluefrog ! com>
Date:       2006-02-27 23:19:46
Message-ID: 44038912.2020504 () bluefrog ! com
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic