Himanshu, I've tried the password you've included below without success.
In answer to David's suggestion, I've created additional attributes in my LDAP entry to match yours (ie additional accountStatus, homeDirectory, etc, attributes). Still without success. Is there anything else you can suggest? Thanks, Andrew. -----Original Message----- From: Himanshu Khona [mailto:[EMAIL PROTECTED]] Sent: Sunday, 25 November 2001 3:31 PM To: Andrew Norman Subject: RE: Pop3d authentication failure - "User record incorrect" HI!! OHH!!Then there is definitely a mistake the way u hv put the passwd. Here is one i am sending u try it. The passwd is heman123. It looks as {SHA}Rx8o1TAP9CN4LoUH2FTxwmbIIfY= But u out SHA in small letters,this is something to note. So here is how ur entry userPassword entry should look. {sha}Rx8o1TAP9CN4LoUH2FTxwmbIIfY= It generted using slappasswd as him:/usr/local/bin#../sbin/slappasswd -h {sha} -s heman123 {SHA}Rx8o1TAP9CN4LoUH2FTxwmbIIfY= But since the code is written to identify the type of digest in small alphabets u have to use the entry this way. If u know perl i can send u a script which u can use to ass ur ldap users for qmail. By Himanshu On Mon, 26 Nov 2001, Andrew Norman wrote: > Hello Himanshu, > > In answer to your question, it is encrypted with SHA .... > > A > > -----Original Message----- > From: Himanshu Khona [mailto:[EMAIL PROTECTED]] > Sent: Sunday, 25 November 2001 2:55 PM > To: Andrew Norman > Cc: '[EMAIL PROTECTED]' > 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. > > > > > > > > >
