mod_authnz_ldap, Apache 2.2 and allowing all ldap users

Tue 13 February 2007 : mod_authnz_ldap, Apache 2.2 and allowing all ldap users

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.
Most recent entries
My take on Microsoft wants to buy yahoo
Last updated Fri 01 February 2008
The server room as multistable climate system
Last updated Wed 09 January 2008
Comparing tvtime and XawTV
Last updated Fri 30 November 2007
From VIDEO_TS to working video DVD in Linux
Last updated Tue 27 November 2007
Configuring ssh on a Netgear GSM7224/GSM7248 switch
Last updated Thu 29 March 2007
mod_authnz_ldap, Apache 2.2 and allowing all ldap users
Last updated Tue 13 February 2007
weblog software
Last updated Mon 01 May 2006
FreeBSD ntpd PPS setup (PPS slave)
Last updated Mon 01 May 2006
homeplug netwerk
Last updated Thu 02 March 2006
Monitoring squid using mon
Last updated Mon 23 January 2006
All entries


Copyright
Valid HTML 4.01!
Valid CSS!
The Irregular is an irregular column-like something which I write. Any opinion in The Irregular is my own personal opinion and has nothing to do with any current, past or future employers or any other person/company I may have contact with.

I consider it my copyright what I write here, please get in touch with me if you want to copy/republish it.

Koos van den Hout, koos@kzdoos.xs4all.nl
The Virtual Bookcase / Camp Wireless / SnowCam