[horde] LDAP Authentication to IMP via Horde

John Lathouwers john.lathouwers at marquette.edu
Sat Jul 6 15:44:38 PDT 2002


Hello,
   I just wanted to bounce this off the list and see if it has been 
thought of, done, or impratical as I hack around with it.
My current setup includes OpenLdap and Cyrus-IMAP (right now I'm just 
using IMP).  Cyrus uses LDAP for authentication (via pam).  What I 
would like to do is authenticate to Horde (or IMP) right to the LDAP 
server as opposed to IMP -> IMAP -> LDAP and assume that if the user 
was authenticated to LDAP they have a mail account that they can 
authenticate to IMAP (obviously with the same user/pass).  So what I'm 
banging around is to not to tell Horde to use IMP authentication, 
authenticate to LDAP, and keep the username/pass around for IMP 
authentication automagically when they click on the "Log in to Mail" 
button (or do completely away with "Log in to Mail").  Does that make 
sense?

Reasons:
1. I'm affected by bug http://bugs.horde.org/show_bug.cgi?id=865 , in 
which the workaround works as long as the username/pass are valid, 
otherwise Apache Seg Faults.
2. I would like to use values in the LDAP, such as common name (cn), 
for headers (ex: on login the Welcome, username at server.net, I would 
like to replace with Welcome, Common Name), which I have done in Horde 
without IMP. 

Would this cause problems as I apply more horde projects in the future?
Comments, Suggestions, Hints would be much appreciated.

John



More information about the horde mailing list