[23038] in Kerberos
Re: kerberos/imap trouble
daemon@ATHENA.MIT.EDU (Dennis Davis)
Fri Dec 10 09:03:40 2004
Date: Fri, 10 Dec 2004 14:01:52 +0000 (GMT)
From: Dennis Davis <ccsdhd@bath.ac.uk>
To: Mark Hannessen <mark@nperfection.com>
Message-ID: <200412101401.aa16161@hinault.bath.ac.uk>
cc: info-cyrus@lists.andrew.cmu.edu
cc: kerberos@mit.edu
Reply-To: Dennis Davis <D.H.Davis@bath.ac.uk>
Errors-To: kerberos-bounces@mit.edu
>From: Mark Hannessen <mark@nperfection.com>
>To: kerberos@mit.edu
>Date: Fri, 10 Dec 2004 14:27:30 +0100
>
>I am trying to setup a kerberos v5 only cyrus imap server.
>that is: I would like all autherisation to be done by gssapi/kerberos.
...
>does anybody have a suggestion where I should look next?
Is the keytab file in the right place? Depending on your
version/implementation of kerberos it could be in any of:
/etc/krb5.keytab
/etc/krb5/krb5.keytab
/etc/kerberosV/krb5.keytab
Do the logs on the Kerberos server give any more detail?
Note that a Cyrus IMAP server using Kerberos5 should need the
principals:
pop/server-name@K5-DOMAIN
imap/server-name@K5-DOMAIN
sieve/server-name@K5-DOMAIN
The imap and sieve principals are definitely needed. It's worth
adding the pop principal even if you initially don't intend running
the pop daemon.
It is advisable to extract these to a separate keytab file --
/var/imap/krb5.keytab -- and give that to the Cyrus user. You can
then start the master daemon with a command line of the form:
KRB5_KTNAME=/var/imap/krb5.keytab /usr/local/cyrus/bin/master &
The above makes it unnecessary to add all the cyrus principals to
/etc/krb5.keytab (or similar) and make this owned by, or at least
readable by, the cyrus user.
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos