<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><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; -x-system-font: none;" 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></table><br>