LDAP Apache: Difference between revisions
mNo edit summary |
m (Reverted edit of Drwiii, changed back to last version by Scottp) |
||
Line 28: | Line 28: | ||
[[http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html]Apache mod_auth_ldap] | [[http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html]Apache mod_auth_ldap] | ||
Revision as of 05:18, 18 November 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]