More likely to be this line:
accountStatus=active
The "user record is incorrect" message doesn't happen because it can't
figure out the password. It'll just give you a standard password incorrect
message. I know this from recent testing. The error message you're seeing
is usually caused when Qmail-LDAP is unhappy with the attributes of the
record, at least in my experience. I only took about a 30 second glance at
your example record, but my first guess is what you see above. Check that
the record is 100% complete in attributes, and you'll probably find your
answer.
Dave
----- Original Message -----
From: "Himanshu Khona" <[EMAIL PROTECTED]>
To: "Andrew Norman" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, November 24, 2001 7:55 PM
Subject: RE: Pop3d authentication failure - "User record incorrect"
> HI!!
>
> I think there exist a problem with ur password.
>
> Which encryption(digest) r u using for the password encryption.
>
> Here is one of my entries
>
> cn=Swati Mohite, dc=heman, dc=com
> cn=Swati Mohite
> sn=Mohite
> objectClass=top
> objectClass=person
> objectClass=inetOrgPerson
> objectClass=qmailUser
> [EMAIL PROTECTED]
> mailHost=heman.com
> mailMessageStore=/export/home/swati
> homeDirectory=/export/home/swati
> accountStatus=active
> uid=swati
> userPassword={crypt}Ge0Ito3x8pZuU
>
> If i think userPassword is the cuplprit.
>
> Let me know what's happening
>
> Himanshu
>
> On Mon, 26 Nov 2001, Andrew Norman wrote:
>
> > Himanshu, here are the ldap user details currently in use:
> >
> >
> > dn: uid=andrew, ou=accounts, dc=dns,dc=com,dc=au
> > mail: [EMAIL PROTECTED]
> > userPassword:: e1NIQX1XNnBoNU1tNVB6OEdnaVVMYlBnekczN21qOWc9
> > mailMessageStore: andrew/
> > uid: andrew
> > objectClass: top
> > objectClass: person
> > objectClass: inetOrgPerson
> > objectClass: qmailUser
> > mailAlternateAddress: [EMAIL PROTECTED]
> > sn: Andrew
> > cn: andrew
> >
> > With thanks,
> >
> > Andrew
> >
> >
> > -----Original Message-----
> > From: Himanshu Khona [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, 22 November 2001 5:44 PM
> > To: Andrew Norman
> > Cc: '[EMAIL PROTECTED]'
> > Subject: Re: Pop3d authentication failure - "User record incorrect"
> >
> >
> > HI!!
> >
> > Pls send ur user object in the ldap.
> >
> > Himanshu
> >
> > On Fri, 23 Nov 2001, Andrew Norman wrote:
> >
> > > Hello.
> > >
> > > I have a configuration issue with my qmail-ldap installation running
> > pop3d.
> > > The setup is fairly ordinary: Qmail 1.03 (with qmail-ldap patch
applied)
> > > running on RedHat 7.1, with latest OpenLdap, etc. This installation
is
> > > working (forwarding mail, delivering to mailboxes, correctly
identifying
> > > users with qmail-ldaplookup, etc.)
> > >
> > > However, when trying to connect via a telnet session to the pop3
daemon, I
> > > get the following problem:
> > >
> > > > telnet {hostname} 110
> > > +OK <{numbers.morenumbers@hostname}>
> > > USER schmo
> > > +OK
> > > PASS schmo12
> > > -ERR user record incorrect
> > >
> > > The pop3d log reports:
> > >
> > > @uglynumbers tcpserver: pid xxxx from 192.168.1.1
> > > @uglynumbers tcpserver: ok xxxx 0:192.168.1.2:110 :192.168.1.1::1738
> > > @uglynumbers tcpserver: end xxxx status 256
> > > @uglynumbers tcpserver: status: 0/40
> > >
> > > Qmail is started with:
> > >
> > > #!/bin/sh
> > >
> > > exec env - PATH="/var/qmail/bin:$PATH" \
> > > qmail-start ./Maildir/ splogger qmail
> > >
> > > Qmail pop3d is started with:
> > >
> > > #!/bin/sh
> > > exec 2>&1 \
> > > envdir ./env \
> > > sh -c '
> > > case "$REMOTENAME" in h) H=;; p) H=p;; *) H=H;; esac
> > > case "$REMOTEINFO" in r) R=;; [0-9]*) R="t$REMOTEINFO";; *) R=R;;
esac
> > > exec \
> > > softlimit ${DATALIMIT+"-d$DATALIMIT"} \
> > > /usr/local/bin/tcpserver \
> > > -vD"$H$R" \
> > > ${LOCALNAME+"-l$LOCALNAME"} \
> > > ${BACKLOG+"-b$BACKLOG"} \
> > > ${CONCURRENCY+"-c$CONCURRENCY"} \
> > > -xtcp.cdb \
> > > -- "${IP-0}" "${PORT-110}" \
> > > /var/qmail/bin/qmail-popup "${POPUPHOST-`sed 1q
> > /var/qmail/control/me`}"
> > > \
> > > /var/qmail/bin/auth_pop \
> > > /var/qmail/bin/qmail-pop3d "${MAILDIRNAME-Maildir}"
> > > '
> > >
> > > (This script is simply do not follow ... you will recognise it as
Tetsu
> > > Ushijimas).
> > >
> > > Please excuse me, but I've R'd the FMs until my eyes have bled, and I
> > still
> > > can't see where I'm stuffing up! Help!!
> > >
> > > With thanks,
> > >
> > > Andrew.
> > >
> > >
> >
>
>