[Dovecot] alternate passwd/shadow
I'm using an alternate password/shadow combo to authenticate IMAP users
and I can't seen to get it working...
I'm using:
passdb shadow { args = /etc/dovecot/shadow }
Can somebody please give me some hints on how to get this to work....
Thanks JB
On Tue, 2008-11-11 at 13:33 -0800, Jorg B. wrote:
I'm using an alternate password/shadow combo to authenticate IMAP users and I can't seen to get it working...
I'm using:
passdb shadow { args = /etc/dovecot/shadow }
Can somebody please give me some hints on how to get this to work....
Please enable auth_verbose and auth_debug in your configuration file. Are there any error messages in your log file?
Regards, Thorsten
Here is the log file...
Nov 11 15:18:53 webmail dovecot: auth(default): client in: AUTH^I1^IPLAIN^Iservice=imap^Isecured^Ilip=127.0.0.1^Irip=127.0.0.1^Ilport=143^Irport=48632^Iresp=AGRvd250b3duAHNvbW1lciEh Nov 11 15:18:53 webmail dovecot: auth(default): shadow(downtown,127.0.0.1): lookup Nov 11 15:18:53 webmail dovecot: auth(default): shadow(downtown,127.0.0.1): unknown user Nov 11 15:18:53 webmail dovecot: auth(default): new auth connection: pid=3529 Nov 11 15:18:55 webmail dovecot: auth(default): client out: FAIL^I1^Iuser=downtown Nov 11 15:18:55 webmail dovecot: imap-login: Aborted login (auth failed, 1 attempts): user=<downtown>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
My /etc/dovecot/shadow and /etc/dovecot/password file does include the user "downtown". The passwd/shadow files are standard password/shadow combo (DES encrypted passwords) found on Slackware Linux 12.1 .
Shadow file: downtown:hljljdkjgdkjgdklk:14194:0:99999:7:::
Password file: downtown:x:1000:100:Peter Pan,,,:/home/downtown:/bin/bash
Any more ideas?
Thanks Jorg B.
On Tue, 2008-11-11 at 13:33 -0800, Jorg B. wrote:
I'm using an alternate password/shadow combo to authenticate IMAP users and I can't seen to get it working...
I'm using:
passdb shadow { args = /etc/dovecot/shadow }
Can somebody please give me some hints on how to get this to work....
Please enable auth_verbose and auth_debug in your configuration file. Are there any error messages in your log file?
Regards, Thorsten
On Tue, 2008-11-11 at 13:33 -0800, Jorg B. wrote:
I'm using an alternate password/shadow combo to authenticate IMAP users and I can't seen to get it working...
I'm using:
passdb shadow { args = /etc/dovecot/shadow }
Can somebody please give me some hints on how to get this to work....
'passdb shadow' supports system users only. Use 'passdb passwd-file' instead.
Regards, Thorsten
participants (2)
-
Jorg B.
-
Thorsten Vollmer