11 Jun
2012
11 Jun
'12
6:51 p.m.
On Mon, Jun 11, 2012 at 06:26:57PM +0300, Timo Sirainen wrote:
On 11.6.2012, at 17.43, Leon Meßner wrote:
Try if this works:
import_environment = TZ GDB DEBUG_SILENT KRB5_KTNAME
Then start Dovecot with:
KRB5_KTNAME=/etc/mail3.krb5.keytab dovecot
I'm wondering if the code in mech-gssapi.c that sets KRB5_KTNAME environment is being called too late.
It's still looking inside the default krb5.keytab .
Which Kerberos library are you using? Maybe it doesn't support this way of giving the keytab.
I'm using the stock FreeBSD 8.2-RELEASE one which is heimdal-1.1.0 . I will update the machine to 8.3 (which is the latest release in 8.x), recompile and report my findings tomorrow.
thanks, Leon