The Kerberos GSS mechanism specific error table in gkrb5_err.et was never registered with libkrb5, so the messages corresponding to those errors would never be available. Register them with the thread local context used by the krb5 mechanism.