different LDAP settings for each client/site

Alan DeKok aland at deployingradius.com
Fri May 13 07:28:50 CEST 2011


Herbert Fischer wrote:
> I would like to setup LDAP module with different settings for different
> clients.
> 
> How can I do this?

  Either set up a different virtual server for each client, OR use
"unlang" to check "if client X, use ldap X"

> Can I setup multiple LDAP module settings and specify which one I would
> like to use for a site or client?

  Yes, but you need to edit the "authorize" section to replace:

	ldap
  with

	if (client 1 ..) {
		ldap1
	}
	elsif (client 2...) {
		ldap2
	}
	...

> Can I define some of the LDAP settings inside the site or client config?

  No.

  Alan DeKok.



More information about the Freeradius-Users mailing list