[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Getting IMAP to work with OpenLDAP



Hi,

if you use courier imap it's very straightforward, you just create a /usr/lib/courier-imap/etc/authldaprc, and let it bind with an ldap account which can read everything, I use Maildir format.

If you would like to use courier/postfix/ldap, I can mail you some configuration examples.

good luck,
Jeroen.


On Thu, 10 Apr 2003 17:36:59 +0530
Vishal Khanna <vishal.khanna@aitpl.co.in> wrote:

> Hi All,
> I have basic problems in getting LDAP to work with IMAP.
> 
> What I want to do
> ------------------
> I want to authenticate my MAIL(IMAP) users on Linux box from the LDAP 
> server running on another server
> 
> a. Is it possible ?
> b. If yes then how ?
> 
> Any help would be really appreciated, I have done the hunting on the web
> 
> The pacakages I use are (RPMS on 2.4.19 Kernel)
> IMAP
> -----
> imap-2001a-142
> imap-lib-2001a-142
> 
> LDAP
> openldap2-client-2.1.4-26
> yast2-ldap-client-2.6.5-66
> nss_ldap-199-31
> openldap2-2.1.4-26
> pam_ldap-150-57
> tclldap-1.1.1-693
> perl-ldap-0.251-20
> perl-ldap-ssl-0.251-20
> 
> I did what was mentioned of changing the settings in /etc/nsswitch.conf
> Changed the entries in /etc/pam.d/imap to
> 
> auth           required      pam_ldap.so
> account        required        pam_ldap.so
> 
> No matter what I do I cannot get it to work. My openLDAP software works 
> perfectly fine otherwise.
> 
> Cheers
> Vishal
> -- 
> -
>