Re: CHAP not working with ldap

2004-08-19 Thread Alexandre Durand
] 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 RLM_MODULE_INVALID if the password is not pap: ... What you're missing is that's the *authentication

Re: CHAP not working with ldap

2004-08-18 Thread kevin J
for \ authentication. Cannot use \%s\., request-password-name); return RLM_MODULE_INVALID; } Should I change the line if I want to make ldap working with CHAP? Another question is if I want to use a persistant connection to ldap then what should I do

Re: CHAP not working with ldap

2004-08-18 Thread Alan DeKok
can send ONLY a PAP password to an LDAP database. Should I change the line if I want to make ldap working with CHAP? No. Do not set Auth-Type := LDAP. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: CHAP not working with ldap

2004-08-18 Thread kevin J
the rlm_ldap module can send ONLY a PAP password to an LDAP database. Thanks Alan. CHAP is working with ldap now. I have two more questions though. 1) I found that PAP is not working with ldap. RADIUS just tried ldap authentication. I don't know why. Is there anything that I have to do

CHAP not working with ldap

2004-08-17 Thread kevin J
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 know how to do CHAP