mod_authnz_ldap, Apache 2.2 and allowing all ldap users / 2007-02-13

2007-02-13 mod_authnz_ldap, Apache 2.2 and allowing all ldap users 12 years ago
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:

        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
Yes, AuthzLDAPAuthoritative off looks odd, but it is the way it works.

Tags: , , ,

, reachable as koos+website@idefix.net. PGP encrypted e-mail preferred.

PGP key 5BA9 368B E6F3 34E4 local copy PGP key 5BA9 368B E6F3 34E4 via keyservers pgp key statistics for 0x5BA9368BE6F334E4 Koos van den Hout
RSS
Other webprojects: Camp Wireless, wireless Internet access at campsites, The Virtual Bookcase, book reviews
This page generated in 0.003605 seconds.