On Thu, Sep 17, 2009 at 08:02:52PM -0300, Leandro wrote:
> I'm trying to migrate from qmail-ldap 1.03 patch 20040401 from
> slackware 9.1 x86 to slackware 13.0 x86_64 or rhel 5.2 x86_64.
> 
> Until now, I stored passwords in md5crypt format in the ldap
> database and everything worked ok.
> I migrated the database and now I store passwords in ssha format.
> 
> Is ssha encryption method compatible with qmail-ldap auth programs
> (auth_pop, auth_imap, auth_smtp) ?
> I ask this because I can't authenticate at all.
> 

qmail-ldap support {SSHA} passwords. You can use /var/qmail/bin/digest to
generate and compare passwords.

/var/qmail/bin/digest -t SSHA test
{SSHA}pe4Aki/vGL+eQjO6aVDg33cFCLyB1p5x3H/m1kyGz3FoefscUOo=
/var/qmail/bin/digest -v test 
"{SSHA}pe4Aki/vGL+eQjO6aVDg33cFCLyB1p5x3H/m1kyGz3FoefscUOo="
passwords are equal.

-- 
:wq Claudio

Reply via email to