It encounters a fatal error with Kerberos 1.1.3:
With library versions from 1.0.0 to 1.1.2, it works as expected.
I’ve filed a ticket on kerberos library’s GH project:
The bug has an easy workaround.