Difference between revisions of "LDAP Apache"

 
Line 27: Line 27:
 
==References==
 
==References==
  
[[http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html]]
+
[[http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html]Apache mod_auth_ldap]

Revision as of 23:33, 28 March 2006

LDAP Apache

Very simple, install mod_auth_ldap, and then install a .htaccess file that looks like this:

   AuthType Basic
   AuthName DDInternal
   AuthLDAPURL ldap://yourzimbraserver/dc=zimbra,dc=yourdomain,dc=com,dc=au
   require valid-user

The first part "ytourzimbraserver" is the address of your Zimbra server running LDAP.

The second part "dc=zimbra,dc=yourdomain,dc=com,dc=au" is the domain you would like to authenticate against.

Other Domains

I am not sure at this stage if you can allow users from multiple domains. Ideally the login would be the same form as Zimbra login - ie: "user@domain"

Performance

You may consider installing mod_ldap to cache your LDAP connections.

Single Login

You can then use [[1]Preauth] to do single sign on (sort of).


References

[[2]Apache mod_auth_ldap]

Jump to: navigation, search