I don't know if this is the right forum to put this in, but if I'm wrong, please move this post! Okay, what I am trying to do is authenticate users through ldap to access a page on apache. My config works to a certain degree, but I need more "require" statements. Here's my httpd.conf:
AuthName "Domain Authentication"
require ldap-user fakeuser
require ldap-group cn=LabTechs,ou=LabTechs,DC=fakedc,DC=edu
The problem I'm having is that if I use anything other than fakeuser, then authentication fails, even if the user is part of the ldap-group LabTechs. This is because only one query is made: the require ldap-user statement. After this statement is denied, it doesn't check the ldap-group statement. Is there any way I could make this work, or have multiple require statements? I would prefer not to have to put the username and the group into another group, because it seems inconvenient by comparison.
I should note that this config DOES work for me, but it only authenticates the fakeuser, not
the LabTechs group.