In order to use arbitrary keytabs and credential caches we need to use this function to generate a credentials handle and not let gssapi create a default credential handle.
It is in my tree pending push to master, but it substantially done since a few weeks already, closing.
Metadata Update from @simo: - Issue assigned to simo - Issue set to the milestone: 2012 February
Commit fb1aab64 fixes this issue
Commit 27f33f36 fixes this issue