[Dovecot] PAM authentication problem: MD5 vs crypt
Timo Sirainen
tss at iki.fi
Sat Sep 23 18:11:01 EEST 2006
Well, this problem is completely in PAM side. Dovecot knows nothing
about if the password is in MD5 format or in files or dbm. I can't
think of anything why with identical configuration this would work
with UW-IMAP but not with Dovecot..
On 23.9.2006, at 18.06, bhayden at umn.edu wrote:
> A glaring omission in my original post: This problem only appears
> with Dovecot. Other services, including UW-IMAP, work for all four
> instances noted below.
>
> -Brian
>
> On Sep 22 2006, bhayden at umn.edu wrote:
>
>> Here's a strange one. I have Dovecot set up on Solaris 9. The auth
>> portion of the config is straight out of the box. Using PAM. We
>> have most users in a dbm file which is just a series of key/value
>> pairs: key is a username, and value is a string equivalent to a
>> shadow entry. nsswitch.conf entry: passwd files dbm.
>>
>> For historical reasons, some users have a classic 13-character
>> Unix crypt password hash, while others have a 34-character MD5
>> hash. Here's the situation:
>>
>> User location pw Hash Auth succeeds/fails
>> ----------------------------------------------
>> files crypt succeeds
>> dbm crypt succeeds
>> files MD5 succeeds
>> dbm MD5 FAILS
>>
>>
>> After two days of research, trussing, and etc, I am stumped. Does
>> anyone have a thought?
>>
>> -Brian
>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060923/ac7daa56/attachment.pgp
More information about the dovecot
mailing list