The slution was qute simple!

It needs Auth-Type = Crypt. Any other scheme will fail. Right now it doesn't
work with unencrypted passwords.

I'm surprised, that this bihaviour differs from 0.9.3 version, where it
reacts on Crypt-Password or Password, without regarding to Auth-Type. With
0.9.3 I couldn't put User-Password with Auth-Type=Local, now it works fine.

The 0.9.3 scheme works better for me, as I could use encrypted and
unecrypted passwords in the same group.


Where could I read about the Auth-Type and Password attributes, and their
interaction?


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of nsinit
Sent: Monday, July 12, 2004 6:29 AM
To: [EMAIL PROTECTED]
Subject: Re: PAP Crypt-Password problem


your radius.conf ?

The correct configuration in radiusd.conf:    (PAP+rlm_sql_mysql)

modules {
 ...
        pap {
                encryption_scheme = crypt
        }
 ...
}

authenticate {
...
        Auth-Type PAP {
                pap
        }
...
}

and in radcheck:
        Auth-Type := PAP




        =nsinit=




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


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

Reply via email to