I have been looking around for the answer to this, and have not found

I am running...


installed as ports.

Compilation and installation seems fine but...

I trying to authenticate with the standard shadow password, but keep
getting this in the log...

Jan  7 14:20:10 popper2 saslauthd[113]: AUTHFAIL: user=user service=imap
realm= [PAM auth error]

Jan  7 14:20:10 popper2 imapd[158]: badlogin:
localhost.clinedavis.com[] plaintext user SASL(-13):
authentication failure: checkpass failed

imapd.conf includes the following...
sasl_pwcheck_method: saslauthd

saslauthd is started using -a pam in /usr/local/etc/rc.d/saslauthd.sh
I checked the processes, and it shows up.

/etc/pam.conf is standard conf 
with only one line for imap...
imap    auth    required        pam_unix.so       try_first_pass

/usr/local/lib/sasl2/Cyrus.conf has...
pwcheck_method: saslauthd 
it did have pwcheck_method: pwcheck but I changed it based on the notes
that came off standard output during compilation.

I have tried changing saslauthd to start with -a shadow, but it does not
recognize the service.

My understanding of this is that imap uses saslauthd for auth, saslauthd
is looking, or should be looking at pam, and pam has a service (imap)
configured for auths.  However, it doesn't work. 

I am very new to pam, but would like to get it to work so I can do ldap
auths instead of shadow auths.

Any help, pointers to howtos I have not found about it, suggestions
would be greatly appreciated.



Jonathan Giles
Senior Unix Administrator
Cline Davis Mann, Inc.

Privileged/Confidential Information may be contained in this
message.  If you are not the addressee indicated in this message
(or responsible for delivery of the message to such person), you
may not copy or deliver this message to anyone.  In such case,
you should destroy this message and kindly notify the sender
by reply e-mail.  Please advise immediately if you or your
employer do not consent to Internet e-mail of this kind.
Opinions, conclusions, and other information in this message
that do not relate to the official business of CDM shall
be understood as neither given nor endorsed by it.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to