Hello,

I've been trying to setup GSSAPI in postfix via cyrus-sasl. The service
principal is configured and so is sasl2/smtpd.conf. All I get from the
postfix log file is that the GSSAPI auth failed and that the minor error
code was Success.

Success as an error code doesn't leave much to go on. log_level: 7 did
nothing to produce more verbose output.

How do I debug this? Is there a configuration flag to bring out trace
information? Perhaps postfix can be recompiled with some kind of SASL debug
flag? I guess the last option would be to use gdb (already tried strace)
but then I would need to know what to look for.

Any help is appreciated.

Thanks,
Kacper

log/mailog:
Aug 22 08:57:10 srv postfix/smtpd[15965]: xsasl_cyrus_server_first: decoded
initial response `?????*?H???????
Aug 22 08:57:10 srv postfix/smtpd[15965]: warning: SASL authentication
failure: GSSAPI Error: Unspecified GSS failure.  Minor code may provide
more information (Success)
Aug 22 08:57:10 srv postfix/smtpd[15965]: warning: unknown[192.168.0.150]:
SASL GSSAPI authentication failed: authentication failure
Aug 22 08:57:10 srv postfix/smtpd[15965]: > unknown[192.168.0.150]: 535
5.7.8 Error: authentication failed: authentication failure

sasl2/smtpd.conf:
pwcheck_method: saslauthd
mech_list: plain login gssapi
keytab: /etc/postfix/postfix.keytab
log_level: 7

Reply via email to