mod_ldap_userdir

mod_ldap_userdir is a module that enables the Apache web server to look up user home directories.
Download

mod_ldap_userdir Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • John Morrissey
  • Publisher web site:
  • http://horde.net/~jwm/software/mod_ldap_userdir/

mod_ldap_userdir Tags


mod_ldap_userdir Description

mod_ldap_userdir is a module that enables the Apache web server to look up user home directories. mod_ldap_userdir is a module that enables the Apache web server to look up user home directories (for /~user URLs) from an LDAP directory.Installation Instructions:gzip -dc mod_ldap_userdir-1.1.9.tar.gz | tar xf -cd mod_ldap_userdir-1.1.9./configure --with-activatemakemake installIf your LDAP server runs OpenLDAP 1.x, you need to add the posixAccount schema definition. Add the contents of posixAccount-objectclass to your slapd.oc.conf and restart your LDAP server. OpenLDAP 2.x (and most other LDAP servers) ship with this schema predefined. The 'user-ldif' file contains a sample user ldif. Modify it to your liking and say ldapadd -D your-root-dn -w your-root-dn-password < ldif You are strongly encouraged to read up on the LDAP config-file directives in the DIRECTIVES file, included with the distribution. At minimum, you'll need to have LDAPUserDir, LDAPUserDirDNInfo, and LDAPUserDirBaseDN configuration directives in your httpd.conf.A set of basic mod_ldap_userdir configuration directives would look like:LDAPUserDir public_html LDAPUserDirDNInfo cn=your-dn,dc=example,dc=com dnpass LDAPUserDirBaseDN ou=People,dc=example,dc=com Of course, you will need to update these configuration directives with the proper values for your environment. What's New in This Release: · Implement an internal failover mechanism instead of relying on the LDAP SDK's built-in failover (if any). Fixes failover regression introduced in v1.1.13 when ldap_initialize() was first used. · Multiple LDAP URL arguments may now be passed to LDAPUserDirServerURL: LDAPUserDirServerURL ldap://127.0.0.1/??sub ldap://172.16.0.1/??sub * Portability fix: don't use ldap_initialize() and ldap_unbind_ext_s() unless we're building against the corresponding versions of the OpenLDAP SDK. · Updated documentation to mention using "." (the current directory) when the user's home directory itself should be exposed, instead of a subdirectory below it. Thanks to Peter Tselios for mentioning this issue.


mod_ldap_userdir Related Software