<div dir="ltr">hello, list<div>This question <a href="http://lists.freeradius.org/pipermail/freeradius-users/2014-February/070420.html">http://lists.freeradius.org/pipermail/freeradius-users/2014-February/070420.html</a> solved my problem,</div>
<div>I have to define "Auth-Type ldap" in authenticate section.</div><div>Thanks very much.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-26 11:48 GMT+08:00 d zz <span dir="ltr"><<a href="mailto:zzd7zzd@gmail.com" target="_blank">zzd7zzd@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Is there a simple doc about configure ldap authenticate with freeraidus-3.0.1 ?  I am confused about it.<div>
I've questioned the developer on Github <a href="https://github.com/FreeRADIUS/freeradius-server/issues/531" target="_blank">https://github.com/FreeRADIUS/freeradius-server/issues/531</a>, but it did not solve my problem.</div>

<div><br></div><div>In "mods-available/ldap" </div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div><div><font color="#0000ff"># Note: set_auth_type was removed in v3.x.x</font></div>

<div><font color="#0000ff"># Equivalent functionality can be achieved by adding the following</font></div><div><font color="#0000ff"># stanza to the authorize {} section of your virtual server.</font></div><div><font color="#0000ff">#</font></div>

<div><font color="#0000ff">#    ldap</font></div><div><font color="#0000ff">#    if ((ok || updated) && User-Password) {</font></div><div><font color="#0000ff">#        update {</font></div><div><font color="#0000ff">#            control:Auth-Type := ldap   </font></div>

<div><font color="#0000ff">#        }</font></div></div></div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div><div><font color="#0000ff">#    }</font></div></div></div></blockquote>

So I add the stanza to virtual server, "radiusd -X" says<div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font color="#ff0000">Unknown value 'ldap' for attribute 'Auth-Type'</font><br>

</div></blockquote>I then add</div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font color="#0000ff">VALUE   Auth-Type           LDAP        1026</font><br></div></blockquote>to "/usr/local/share/freeradius/dictionary.freeradius.internal", but "radiusd -X" says</div>

<div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>(0) Found Auth-Type = LDAP</div><div>(0) WARNING: Unknown value specified for Auth-Type.  Cannot perform requested action.</div><div>(0) Failed to authenticate the user.</div>

</div><div><br></div></blockquote>Any body can tell me a clear progress about configure ldap authenticate? Thanks very much.</div><div><br></div></div>
</blockquote></div><br></div>