GSSAPI error with mbsync

Timo Kaufmann timokau at zoho.com
Thu Aug 16 07:46:59 EDT 2018


Hi,

after switching my linux distribution from ArchLinux to NixOS, synchronizing
with one of my mailservers stopped working. I'm using isync which is in turn
using cyrus-sasl.

This worked on ArchLinux, also using isync with cyrus-sasl. It also works on
NixOS when I use isync with GNU sasl instead. So there must be some issue with
the package build. Since I intend to fix that issue and this mailing list is
for package maintainers, I hope I'm right here.

The error message I'm getting from isync is:

```
Logging in...
Authenticating with SASL mechanism GSSAPI...
Error: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure.  Minor code may provide more information (No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_1000))
```

cyrus-sasl is compiled with kerebos as a dependency and the `--enable-gssapi` configure flag.

Here is ArchLinux's build recipe (they apply a lot of patches):
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/libsasl

Here is the NixOS version:
https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/cyrus-sasl/default.nix

Can anyone give me a pointer to a possible source of the error?


Timo



More information about the Cyrus-devel mailing list