On Wed, 22 Oct 2003, Lai Fu Keung wrote:

>
> > Well it seems that the bind operation is failing. If your encrypted password is
> > not the userpassword attribute then the ldap server will _not_ use that in the
> > bind operation and as a result the bind operation will fail. So make sure you
> > are using the right password attribute.
>
> Yes, I use UserPassword to store crypted password and another
> attribute chapPassword to store plain text password.
>
> How can ask LDAP to look at UserPassword attribute when PAP is used,

That's a question for the ldap server since rlm_ldap on PAP will only do a
normal ldap bind operation. Make sure that you can bind with to the ldap server
with the user credentials successfully. If not then there's something wrong
with your ldap server.

> and look at chapPassword attribute when MS_CHAP is used?

It seems that you are already doing that part with no problem

>
> Lai
>

--
Kostas Kalevras         Network Operations Center
[EMAIL PROTECTED]       National Technical University of Athens, Greece
Work Phone:             +30 210 7721861
'Go back to the shadow' Gandalf

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

Reply via email to