Master user and invalid credentials dovecot-2.2.13

Götz Reinicke - IT Koordinator goetz.reinicke at filmakademie.de
Tue Sep 30 07:01:03 UTC 2014


Hi,

on the console:

telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.


in the logs:


Sep 30 08:56:23 auth: Debug: client in: AUTH	2936	PLAIN	service=imap
secured	session=fOCd4UIEMAB/AAAB	lip=127.0.0.1	rip=127.0.0.1
lport=143	rport=54320	resp=<hidden>
Sep 30 08:56:23 auth: Debug:
passwd-file(user,127.0.0.1,master,<fOCd4UIEMAB/AAAB>): Master user
lookup for login: testma
Sep 30 08:56:23 auth: Debug:
passwd-file(user,127.0.0.1,master,<fOCd4UIEMAB/AAAB>): lookup: user=user
file=/etc/dovecot/master-users
Sep 30 08:56:23 auth: Info:
passwd-file(user,127.0.0.1,master,<fOCd4UIEMAB/AAAB>): Master user
logging in as testma
Sep 30 08:56:23 auth: Info: ldap(testma,127.0.0.1,<fOCd4UIEMAB/AAAB>):
invalid credentials


	/Götz
Am 29.09.14 um 15:04 schrieb Clovis Tristao:
> Hi,
> 
> As you are performing the tests?
> Would post the debug log?
> Cheers,
> 
> Clóvis
> 
> Em 29-09-2014 05:08, Götz Reinicke - IT Koordinator escreveu:
>> Hi,
>>
>> I followed the docs from the dovecot wiki
>> (http://wiki2.dovecot.org/Authentication/MasterUsers) and still have
>> some problem:
>>
>> 1. uncommented "!include auth-ldap.conf.ext" in 10-auth.conf
>> 2. htpasswd -b -c -s .... to create user/password for a masteruseruser
>> 3. checked auth-master.conf.ext
>>
>> When I try to test the login, I always get an "invalid credentials" in
>> the logs with auth_debug=yes set.
>>
>> dovecot can read /etc/dovecot/master-users
>>
>> The users are in ldap.
>>
>> The example wiki shows the passwords {SHA1}...., in my password file
>> they are {SHA}....
>>
>> The "master user" posting in september gave some clues what might be
>> wrong, but did not help to solve my problem.
>>
>>
>>     Any suggestions are welcome! Thanks and regards. Götz
> 


-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reinicke at filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5481 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20140930/ae5660c5/attachment-0001.p7s>


More information about the dovecot mailing list