Here is the project writeup for supporting parameterized ccache/keytab names: http://k5wiki.kerberos.org/wiki/Projects/Keytab_ccache_name_parameters There is a candidate implementation at: https://github.com/greghudson/krb5/tree/param