<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">When I remove ldap-Vpn from authenticate part error is:<br> <br>rlm_chap: login attempt by "test" with CHAP password<br> rlm_chap: Could not find clear text password for user test<br>Login incorrect (rlm_chap: Clear text password not available): [test] (from client vpntist port 128 cli 10.10.10.24)<br><br>what is wrong in my config?any help?<br><br>--- On <b>Sun, 2/21/10, Eric Eric <i><eric121233@yahoo.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Eric Eric <eric121233@yahoo.com><br>Subject: Fw: freeradius and ldap using chap<br>To: freeradius-users@lists.freeradius.org<br>Date: Sunday, February 21, 2010, 1:33 PM<br><br><div id="yiv107471130"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit;
font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none;" valign="top"><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div id="yiv269320438"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">Hi<br>I want to change authentication pap to chap. The users with clear passwords are in ldap server. The error is :<br><br>rlm_ldap: - authenticate<br>rlm_ldap: Attribute "User-Password" is required for authentication. Cannot use "CHAP-Password".<br>Login incorrect (rlm_chap: Clear text password not available):<br><br>I saw the problem in faq but I didn't find what is my mistake. The config
is:<br>in users :<br><br> DEFAULT Client-IP-Address ==
10.10.10.2 , Auth-Type := Vpn, Autz-Type := Vpn, Post-Auth-Type := Vpn, Session-type := Vpn<br><br>in radius.conf:<br>ldap ldap-Vpn{<br> ....<br> password_attribute =
userPassword<br> password_header = "{clear}"<br> <br> }<br>authorize {<br>chap<br>Autz-Type Vpn{<br> ldap-Vpn<br> chap<br> }<br>}<br><br>authenticate {<br>Auth-Type CHAP {<br> chap<br> }<br> Auth-Type Vpn{<br>
chap<br> ldap-Vpn<br><br> }<br><br>}<br><br>....<br>what is my mistake? should I do any other config or change in ldap.attrmap?<br><br></td></tr></tbody></table><br>
</div></blockquote></td></tr></tbody></table><br>
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">-<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a></div></blockquote></td></tr></table><br>