macosxhints.com – Authenticate Apache 2 using Mac OS X Open Directory
Change this:
cn=user1,dn=example,dn=com
to this:
uid=user1,dn=example,dn=com
so it looks like this:
AuthType Basic
AuthName "Testing of LDAP auth"
AuthBasicProvider ldap
AuthzLDAPAuthoritative on
AuthLDAPBindDN uid=testaccount1,cn=users,dc=geo,dc=vuw,dc=ac,dc=nz
AuthLDAPBindPassword [plaintext password for user 'testaccount1']
AuthLDAPURL ldap://server1.geo.vuw.ac.nz/dc=geo,dc=vuw,dc=ac,dc=nz
require valid-user
Clear as mud
? 😉