Hi Marcelo,


Marcelo Maraboli schrieb am Thu, Jan 17, 2002 at 10:57:30AM -0300:
[...]
> 
> Cyrus IMPAD 2.0.16
> Cyrus SASL 1.5.27
> BerkeleyDB 3.3.11
> Solaris 8 and PAM (to use shadow without pwcheck daemon)
> 
> I compile it with no problem, but cannot get it to work.
> 
> root@aconcagua:/install/apache/cyrus-imapd-2.0.16$ ./configure 
[...]
> 
> /etc/pam.conf
>       imap    auth required   /usr/lib/security/$ISA/pam_unix.so.1 
> 
[...]
> 
> the "local6.debug" output....
> Jan 17 10:44:41 aconcagua imapd[10204]: [ID 427203 local6.debug]
> pam_authenticate: error Authentication failed
[...]

What does pam_unix.so.1 mean in your environment?  /etc/passwd or
/etc/passwd w/ /etc/shadow?  Does your "cyrus" user have rights
to access the relevant files? 

Note that PAM is a library which cyrus links to implying that any "PAM
auth request" ist done as the "cyrus" user.  If you do shadow authen-
tication, this may fail due to lack of read permissions.  To check this, 
temporarily give "cyrus" read access to /etc/shadow - does this fix the 
problem?

Other hint: "prefork=0" (/etc/cyrus.conf), telnet to 143 on one 
terminal, watch the corresponding imapd process via truss or ktrace
on another terminal when trying to authenticate.


Regards,

- Birger

Reply via email to