Thanks Alan!<div><br></div><div>And how do I tell Freeradius that only some LDAP groups can authenticate against a client? </div><div>I read the docs but did not understood the connection between the users file and the virtual server conf.</div>
<div><br></div><div>best regards</div><div><br><div class="gmail_quote">On Fri, May 13, 2011 at 2:28 AM, Alan DeKok <span dir="ltr"><<a href="mailto:aland@deployingradius.com">aland@deployingradius.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">Herbert Fischer wrote:<br>
> I would like to setup LDAP module with different settings for different<br>
> clients.<br>
><br>
> How can I do this?<br>
<br>
</div> Either set up a different virtual server for each client, OR use<br>
"unlang" to check "if client X, use ldap X"<br>
<div class="im"><br>
> Can I setup multiple LDAP module settings and specify which one I would<br>
> like to use for a site or client?<br>
<br>
</div> Yes, but you need to edit the "authorize" section to replace:<br>
<br>
ldap<br>
with<br>
<br>
if (client 1 ..) {<br>
ldap1<br>
}<br>
elsif (client 2...) {<br>
ldap2<br>
}<br>
...<br>
<div class="im"><br>
> Can I define some of the LDAP settings inside the site or client config?<br>
<br>
</div> No.<br>
<font color="#888888"><br>
Alan DeKok.<br>
-<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><br>
</font></blockquote></div><br></div>