I have changed the cn's to dc's exactly as you have below but still the same results.
Anything else to try?
>From: Steve Chan <[EMAIL PROTECTED]>
>To: Mark Hutchinson <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
>Subject: Re: qmail-ldaplookup fails. Any ideas why?
>Date: Thu, 25 Jul 2002 23:30:23 +0800
>
>Dear Mark
>
>Please check the spelling carefully. See below:
>
>
> > 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
> ^^ ^^
> dc dc
>
> >
> > ldaplogin:
> >
> > cn=qmail,dn=redstarhosting,dn=co.uk
> ^^ ^^
> dc dc
>
> >
> > 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?
> >
> >