[prev in list] [next in list] [prev in thread] [next in thread]
List: postfix-users
Subject: Password mismatch. Might the md5usm be wrong?
From: Dotan Cohen <dotancohen () gmail ! com>
Date: 2013-07-07 8:29:55
Message-ID: CAKDXFkOa7=1ZnDpW-euesUW6suYm3+sDofgZSBKVf=5hO43jDw () mail ! gmail ! com
[Download RAW message or body]
On an Ubuntu Server 12.04 system with Dovecot 2.0.19 I am having some
trouble with the Dovecot passwords. I am finding this in the logs when
I unsuccessfully try to log in:
Jul 07 08:13:25 auth-worker: Debug:
pam(user@someDomain.com,212.
179.241.14): lookup service=dovecot
Jul 07 08:13:25 auth-worker: Debug:
pam(user@someDomain.com,212.179.241.14): #1/1 style=1 msg=Password:
Jul 07 08:13:27 auth-worker: Info:
pam(user@someDomain.com,212.179.241.14): pam_authenticate() failed:
Authentication failure (password mismatch?) (given password: 12345)
Jul 07 08:13:29 auth: Debug: client out: FAIL 2 user=user@someDomain.com
Jul 07 08:13:29 pop3-login: Info: Disconnected (auth failed, 2
attempts): user=<user@someDomain.com>, method=PLAIN,
rip=212.179.241.14, lip=10.138.11.251
This is not the real password, but an example to show that I think
that there is an issue:
$ /usr/bin/doveadm pw -u user@someDomain.com -s DIGEST-MD5
Enter new password: # Here I have typed "12345"
Retype new password: # Here I have typed "12345"
{DIGEST-MD5}f4e442b0dec5009eaa8b9b4104923edc
$ printf "12345" | md5sum
827ccb0eea8a706c4c34a16891f84e7b -
$
Shouldn't that password match the md5sum check? Also, might I have the
file formats wrong?
$ cat passwd
user@someDomain.com::5000:5000::/var/mail/vhosts/someDomain.com/user
$ cat shadow
user@someDomain.com:{DIGEST-MD5}f4e442b0dec5009eaa8b9b4104923edc
$
Thanks!
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic