password compare failed

Friedrich Locke <[email protected]> Thu, 10 Apr 2014 09:09:54 -0300
Newsgroups gmane.mail.qmail.ldap
Message-ID <CANMDHqcCQZYpGdQJO9dP9=yZ85iagNDqW42GY+Q_wJn1+KC50Q@mail.gmail.com>
--001a1132efa258706104f6af18dd
Content-Type: text/plain; charset=ISO-8859-1

Hi folks,

i am setting up qmail-ldap and i am facing some problems related to
passwords.
Here is an example (of course, i have ldaprebind set to 1):

obsd# ./qmail-ldaplookup -u grios -p 123456
Searching ldap for: (&(objectClass=qmailuser)(uid=grios))
under dn: ou=people,dc=ufv,dc=br
Found 1 entry:

dn: uid=grios,ou=people,dc=ufv,dc=br
-------------------------------------------------------
objectClass: organizationalRole
objectClass: posixAccount
objectClass: qmailUser
mail: [email protected]
mailAlternateAddress: [email protected]
uid: grios
accountStatus: undefined -> active
mailHost: obsd.cpd.ufv.br
homeDirectory: /var/pop/grios
aliasEmpty: using default
qmailDotMode: dotonly
qmailUID: 1016
qmailGID: 1010
mailQuotaSize: 1000000
mailQuotaCount: 1000
mailSizeMax: 0 (unlimited)
mailReplyText: undefined

PASSWORD COMPARE was NOT successful.
        error was: authorization failed, wrong password


obsd#


grios' entry in ldap has the following field:

userpassword: {SASL}[email protected]

I have this entry working for everytinhg but qmail. May some help me ?

Thanks in advance.

--001a1132efa258706104f6af18dd
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div><div>Hi folks,<br><br></div>i am setti=
ng up qmail-ldap and i am facing some problems related to passwords.<br></d=
iv>Here is an example (of course, i have ldaprebind set to 1):<br><br>obsd#=
 ./qmail-ldaplookup -u grios -p 123456 <br>
Searching ldap for: (&amp;(objectClass=3Dqmailuser)(uid=3Dgrios))<br>under =
dn: ou=3Dpeople,dc=3Dufv,dc=3Dbr<br>Found 1 entry:<br><br>dn: uid=3Dgrios,o=
u=3Dpeople,dc=3Dufv,dc=3Dbr<br>--------------------------------------------=
-----------<br>
objectClass: organizationalRole<br>objectClass: posixAccount<br>objectClass=
: qmailUser<br>mail: <a href=3D"mailto:[email protected]">gustav=
[email protected]</a><br>mailAlternateAddress: <a href=3D"mailto:grios=
@obsd.cpd.ufv.br">[email protected]</a><br>
uid: grios<br>accountStatus: undefined -&gt; active<br>mailHost: <a href=3D=
"http://obsd.cpd.ufv.br">obsd.cpd.ufv.br</a><br>homeDirectory: /var/pop/gri=
os<br>aliasEmpty: using default<br>qmailDotMode: dotonly<br>qmailUID: 1016<=
br>
qmailGID: 1010<br>mailQuotaSize: 1000000<br>mailQuotaCount: 1000<br>mailSiz=
eMax: 0 (unlimited)<br>mailReplyText: undefined<br><br>PASSWORD COMPARE was=
 NOT successful.<br>=A0=A0=A0=A0=A0=A0=A0 error was: authorization failed, =
wrong password<br>
<br><br>obsd# <br><br><br></div>grios&#39; entry in ldap has the following =
field:<br><br>userpassword: {<a href=3D"mailto:SASL%[email protected]">SASL}gr=
[email protected]</a><br><br></div>I have this entry working for everytinhg but qm=
ail. May some help me ?<br>
<br></div>Thanks in advance.<br></div>

--001a1132efa258706104f6af18dd--