mod_auth_oid_ldap is an Apache 2.2 module implementing an OpenID to local user id mapping which may be used with mod_auth_oid.

Base Settings

  • AOID_Ldap_Server ldap://<host>[:<port>]/<basedn>?<attrib>?<filter>
    Defines the search URL to find the object within the LDAP directory. The attrib string defines the object's attribute name storing the local user id while the filter defines the attribute name storing the user's OpenID.
  • AOID_Ldap_bind <dn> <password>


Apache configuration:
AOID_Ldap_Server ldap://,dc=bar?uid?openid
AOID_Ldap_Bind   cn=admin,dc=foo,dc=bar 1234
LDAP entry:
dn: uid=dave,ou=people,dc=foo,dc=bar
objectClass: inetOrgPerson
objectClass: posixAccount
uid: daveblack
sn: Black
cn: Dave Black


The module requires an LDAP library and include files, e.g. the OpenLDAP development libraries.

mod_auth_oid at © 2009-2011, Pascal Buchbinder