Here are the results of:

/var/qmail/bin/qmail-ldaplookup -m [EMAIL PROTECTED]

 

init_ldap:      passwords are not compared via rebind
                localdelivery:   on
                clustering:      off
                ldapobjectclass: qmailuser
                homedirmaker:    /var/qmail/bin/custom_dirmaker
                defaultDotMode:  ldaponly
                defaultQuota:    /var/qmail/maildirs
                QuotaWarning:
------
You are about to be over your quota.  Clean your mailbox.

------
qldap_open:     NOT successful: binding to ldap server failed

 

Is there any way to enable debugging or ldap logging?  What else can I try?

Here are the relevant /control files too:

ldapbasedn:

cn=redstarhosting,cn=co.uk

ldaplogin:

cn=qmail,dn=redstarhosting,dn=co.uk

ldappassword:

supersecret

ldapserver:

127.0.0.1

 

And if I run:

ldapsearch -x -b "dc=redstarhosting,dc=co.uk" -D "cn=qmail,dc=redstarhosting,dc=co.uk" -w supersecret

I get a full dump of the ldap database successfully.  So it is a problem with the qmail-ldaplookup for sure.

 

Any ideas on what to look for or what to try?

 

Thanks all.

>From: Claudio Jeker <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: qmail-ldaplookup fails. Any ideas why?
>Date: Thu, 25 Jul 2002 10:10:51 +0200
>
>On Thu, Jul 25, 2002 at 10:30:38AM +0530, =?ISO-8859-1?q? Santosh Pasi ?= wrote:
> > Hi Mark Hutchinson,
> >
> > And what about /var/qmail/control/ldapserver?
> > change it to "127.0.0.1" and try.
> >
> > Then try /var/qmail/bin/ldaplookup -m <[EMAIL PROTECTED]>
> >
> > Paste the result.
> >
> > Password is required to retrieve mails, If you have mail clients like Outlook which
> > sends password in cleartext format, then you need to
> > enable "DCLEARTEXTPASSWD" option in Makefile. I prefer to enable following
> > flags in my setup
> > LDAPFLAGS=-DQLDAP_CLUSTER -DLDAP_ESCAPE_BUG -
> > DCLEARTEXTPASSWD
> >
>
>CLEARTEXTPASSWD is only needed if you need to store the password as
>cleartext in the ldap database (not in the mail client).
>
>--
>:wq Claudio


Join the world�s largest e-mail service with MSN Hotmail. Click Here

Reply via email to