Thanks Alan. <br><br>I wanted to test your solution before replying. I've been trying it all day but couldn't get it work. Something very strange is happening . <br><br>I've added, as you suggested, Auth-Type=PAP. I do that with a users-file at the end of authorization module and I set password_header={sha} in my ldaps modules ( I hope I won't be wrong ).
<br><br>The problem is <br> <br> rlm_pap: Attribute "Password" is required for authentication. <br><br><br>I don't know why the client is not sending the password. I've been watching packets with ethereal and can't see the password although I can see username. I'm using Win XP + Secure W2.
<br><br>Did it ever happen to you something similar? <br><br><div><span class="gmail_quote">2006/8/4, Alan DeKok <<a href="mailto:aland@deployingradius.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
aland@deployingradius.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
wekz <<a href="mailto:fbl.list@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">fbl.list@gmail.com</a>> wrote:<br>> The user is authorized and the password is got from the
<br>> ldap (rlm_ldap: Adding userPassword as User-Password, value
<br>> {sha}rur+4yJuecpmc8vxS/8wAyAMNHM= & op=21)<br><br> In 1.1.x, you have to configure the "ldap" module to know about the<br>"{sha}" password header. See the "ldap" section of "modules".
<br><br>> And after matching the group Local in my users-file:<br>><br>> auth: type Local<br>> auth: user supplied User-Password does NOT
<br>> match local User-Password<br>> auth: Failed to validate the user.<br><br> Unfortunately, this is one of the few cases where you probably have<br>to set Auth-Type = PAP. Note that this is ONLY a
1.1.x limitation.<br>The CVS head, and therefore 2.0 has that fixed.<br><br> Alan DeKok.<br>--<br> <a href="http://deployingradius.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://deployingradius.com
</a> - The web site of the book<br> <a href="http://deployingradius.com/blog/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://deployingradius.com/blog/</a> - The blog<br>-<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.freeradius.org/list/users.html
</a><br></blockquote></div><br>