krb5_gss_register_acceptor_identity sets a mutex-locked global (not thread-specific) variable containing a keytab name. This change allows the variable to be unset by passing a null value. A more elegant long-term solution to the problem is Heimdal's gss_krb5_import_cred function. https://github.com/krb5/krb5/commit/41103fb180d78f349a5c3fe45f96008b50a11587 Commit By: ghudson Revision: 24242 Changed Files: U trunk/src/lib/gssapi/krb5/acquire_cred.c U trunk/src/lib/gssapi/krb5/krb5_gss_glue.c