Finding the right way to configure mod_authnz_ldap in apache 2.2 to allow all valid ldap users gave me a bit of a headache until Simon Cozens pointed me in the right direction of the valid way to get this effect. It is mentioned in the documentation, see the bit about mod_authnz_ldap and require valid-user.Because my google-fu failed to find this, here is the correct sample:
Yes, AuthzLDAPAuthoritative off looks odd, but it is the way it works.AuthName "Informatica medewerkers en studenten" AuthType Basic AuthLDAPURL ldap://ldap.cs.uu.nl:389/dc=cs,dc=uu,dc=nl?uid AuthBasicProvider ldap AuthzLDAPAuthoritative off require valid-user