Re: different LDAP settings for each client/site

2011-05-13 Thread Herbert Fischer
...@deployingradius.comwrote: 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

Re: different LDAP settings for each client/site

2011-05-13 Thread Herbert Fischer
at 10:53 AM, Herbert Fischer herbert.fisc...@gmail.com wrote: Thanks Alan! And how do I tell Freeradius that only some LDAP groups can authenticate against a client? I read the docs but did not understood the connection between the users file and the virtual server conf. best regards

Re: different LDAP settings for each client/site

2011-05-13 Thread Herbert Fischer
Thanks Phil! On Fri, May 13, 2011 at 3:43 PM, Phil Mayers p.may...@imperial.ac.ukwrote: On 05/13/2011 07:34 PM, Herbert Fischer wrote: if (ldap_group-LDAP-Group != somegroup) { You can't do this. You can only test for group membership i.e. if (ldap_group-LDAP-Group == somegroup

different LDAP settings for each client/site

2011-05-12 Thread Herbert Fischer
Hi, I would like to setup LDAP module with different settings for different clients. How can I do this? Can I setup multiple LDAP module settings and specify which one I would like to use for a site or client? Can I define some of the LDAP settings inside the site or client config? thanks,