Can the cyrus user read the /etc/shadow file?
Andrew Kirilenko wrote:
> Hello!
>
> I've problems with authentication :(
> Can somebody help me with this problem? It's really urgent and important!
>
> Here's log:
> cyrus@isserver:/home/iced$ imtest -p imap -m login localhost
> C: C01 CAPABILITY
> S: * OK isserver Cyrus IMAP4 v1.6.24 server ready
> S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS
> X-NON-HIERARCHICAL-RENAME NO_ATOMIC_RENAME UNSELECT ID
> S: C01 OK Completed
> Password: Terminated
> cyrus@isserver:/home/iced$
> cyrus@isserver:/home/iced$ imtest -p imap -m login localhost
> C: C01 CAPABILITY
> S: * OK isserver Cyrus IMAP4 v1.6.24 server ready
> S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS
> X-NON-HIERARCHICAL-RENAME NO_ATOMIC_RENAME UNSELECT ID
> S: C01 OK Completed
> Password:
> + go ahead
> L01 NO Login failed: generic failure
> Authenticated.
> Security strength factor: 0
> . logout
> * BYE LOGOUT received
> . OK Completed
> Connection closed.
> cyrus@isserver:/home/iced$
>
> And here's my imapd.conf
> configdirectory: /var/imap
> partition-default: /var/spool/imap
> admins: cyrus root
> srvtab: /var/imap/srvtab
> sasl_passwd_check: shadow
> allowanonymouslogin: no
>
> Best regards,
> Andrew Kirilenko.