Qmail-LDAP
[Top] [All Lists]

Re: Can't connect to LDAP server

To: Mário Gamito <mgamito@telbit.pt>
Subject: Re: Can't connect to LDAP server
From: "Jose Javier Sianes Ruiz" <jsianes@elsendero.es>
Date: Mon, 19 Feb 2007 12:52:27 +0100 (CET)
Cc: qmail-ldap@qmail-ldap.org
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
Importance: Normal
In-reply-to: <45D98747.3070708@telbit.pt>
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
References: <45D98747.3070708@telbit.pt>
User-agent: SquirrelMail/1.4.5
This configuration file is not correct. This is a Qmail maillist, not a
Courier-authlib maillist. You should better post it there, at the moment
your problem have nothing to do with Qmail. Anywhere, read my comments on
your configuracion attributes:

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

Bad, this is not a correct URI. You should use: ldap://mail2.telbit.pt

> LDAP_BASEDN             dc=telbit, dc=pt

OK

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

Do you really use the default openldap password for your admin user???

> LDAP_AUTHBIND           1

Ok

> LDAP_DOMAIN             mail2.telbit.pt

Looking at your BASEDN it seems your DOMAIN should be 'telbit.pt'

> LDAP_HOMEDIR            /usr/sbin

Do you really have read and understand authldaprc comments? LDAP_HOMEDIR
specifies name for HOMEDIR attribute in your LDAP, usually
'homeDirectory'.




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