Re: qmail-ldap ssha passwords compatibility

Russell Simpkins <[email protected]>
Newsgroups gmane.mail.qmail.ldap
Message-ID <[email protected]>
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.