[Dovecot] passwd + shadow auth problem

T'aZ tazdev at punkass.com
Sat Jun 26 22:57:02 EEST 2004


Hi!
here is the problem , i have local users
some have shadow password, some not, so i must create two auth
one to login via shadow , and one via passwd

so here is my config file (stripped comments):


protocols = imap imaps pop3 pop3s
imap_listen = 192.168.0.2
pop3_listen = 192.168.0.2
imaps_listen = 192.168.0.2
pop3s_listen = 192.168.0.2
login = imap
login = pop3
auth = default
auth_mechanisms = plain
auth_userdb = passwd
auth_passdb = shadow
auth_user = root
auth_count = 1
auth_verbose = yes
auth = truc 
auth_mechanisms = plain
auth_userdb = passwd
auth_passdb = passwd
auth_verbose = yes


if i try a user with shadow, it works, but if i try a user without shadow, it fails in the log with  dovecot-auth: shadow(taz): unknown user

what's wrong, why doesnt it use the second auth option ?
where is my error ?

i'm using 0.99.10.6

thanks in advance

-- 
T'aZ |Jabber:taz-007 at jabber.org|GPG keyID:E051925D|http://taz.prout.be
*They that can give up essential liberty to obtain a little temporary
 safety deserve neither liberty nor safety.*  Benjamin Franklin 1759
*Beaucoup,vite,loin,mal.*  http://www.cl.cam.ac.uk/~rja14/tcpa-faq.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20040626/836f5642/attachment-0001.bin>


More information about the dovecot mailing list