Qmail-LDAP
[Top] [All Lists]

Can't connect to LDAP server

To: qmail-ldap@qmail-ldap.org
Subject: Can't connect to LDAP server
From: Mário Gamito <mgamito@telbit.pt>
Date: Mon, 19 Feb 2007 11:17:27 +0000
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
User-agent: Thunderbird 1.5.0.9 (X11/20061206)
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>