18 Sep 2009 02:40
Re: qmail-ldap ssha passwords compatibility
Russell Simpkins <russ <at> cttechhosting.net>
2009-09-18 00:40:05 GMT
2009-09-18 00:40:05 GMT
> 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.
I use sha with my qmail-ldap, dovecot install. works fine for me with
auth_imap, and auth_smtp. How did you convert your passwords from md5 to
sha? Maybe there in lies your problem. Did you try using
/usr/sbin/slappasswd -h '{SHA}' -s testpassword
to generate a sha password and then set your ldap account and verify
that it is in fact the password.
Russ
RSS Feed