Qmail-LDAP
[Top] [All Lists]

Re: Can't connect to LDAP server

To: qmail-ldap@qmail-ldap.org
Subject: Re: Can't connect to LDAP server
From: Daniel Cañas Montero <dcm@intnet.co.cr>
Date: Mon, 19 Feb 2007 11:10:33 -0600
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
In-reply-to: <45D98747.3070708@telbit.pt>
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
References: <45D98747.3070708@telbit.pt>
I never needed to change any of those variables.
My  vars are all the default examples except for
 LDAP_GLOB_UID, LDAP_GLOB_UID, LDAP_HOMEDIR.
I also commented out LDAP_MAILDIR and LDAP_CLEARPW.

Did you try what I responded last week on the qmail list?
http://marc.theaimsgroup.com/?l=qmail&m=117148571930771&w=2

No need to use authdaemon and version 4.x of courier-imap won't work.

All you need to do is use the qmail-imapd supplied run scripts
and change a few attributes in courier etc files.


Install courier-imap-3.0.8:
./configure
make
make check
su - root
make install
make install-configure


Daniel Alberto



On Feb 19, 2007, at 5:17 AM, Mário Gamito wrote:

Hi,

I'm trying to use qmail-ldap with courier-imap, but i'm having a hard time getting courier to authenticate.

It seems that courier-imap can't find my LDAP server, which is in the same machine.

I have openldap running.

[root@mail2 courier-imap-4.1.2]# /usr/local/sbin/authtest gamito@mail2.telbit.pt zooropa

maillog:
Feb 19 10:59:02 mail2 authdaemond: cannot connect to LDAP server (mail2.telbit.pt): No such file or directory

In my authldaprc, i have:
LDAP_URI                mail2.telbit.pt

LDAP_BASEDN             dc=telbit, dc=pt

LDAP_BINDDN             cn=root,dc=telbit,dc=pt
LDAP_BINDPW             secret

LDAP_AUTHBIND           1

LDAP_DOMAIN             mail2.telbit.pt

LDAP_HOMEDIR            /usr/sbin

Any help would be appreciated.

Warm Regards,
Mário Gamito





<Prev in Thread] Current Thread [Next in Thread>