Re: CHAP not working with ldap

2004-08-19 Thread Alexandre Durand
lt;[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 19, 2004 4:08 AM Subject: Re: CHAP not working with ldap > > > Alan DeKok wrote: > > >kevin J <[EMAIL PROTECTED]> wrote: > > > > > >>I found the line 1441 of rlm_ldap.c returns R

Re: CHAP not working with ldap

2004-08-18 Thread kevin J
Alan DeKok wrote: kevin J <[EMAIL PROTECTED]> wrote: I found the line 1441 of rlm_ldap.c returns RLM_MODULE_INVALID if the password is not pap: ... What you're missing is that's the *authentication* function. The LDAP database doesn't know how to do CHAP, it only knows how to do PAP. S

Re: CHAP not working with ldap

2004-08-18 Thread Alan DeKok
kevin J <[EMAIL PROTECTED]> wrote: > I found the line 1441 of rlm_ldap.c returns RLM_MODULE_INVALID if the > password is not pap: ... What you're missing is that's the *authentication* function. The LDAP database doesn't know how to do CHAP, it only knows how to do PAP. So the rlm_ldap module

Re: CHAP not working with ldap

2004-08-18 Thread kevin J
kevin J wrote: Our ldap has USER-CTPASSWORD for clear-text. I properly modified ldap.attrmap and dictionary. I put password_header = "{clear}" in ldap of module (radiusd.conf) but I got rlm_ldap: Attribute: "User-Password" is required for authentication. Cannot use "CHAP-Password" Anybody k