When using a ktpass.exe generated keytab file the following error is produced from krb5_gss_acquire_cred(): [c:\]gss-server -port 4242 -verbose -threads 5 sample@dc.windows.secure-endpoints.com GSS-API error acquiring credentials: Miscellaneous failure GSS-API error acquiring credentials: Unknown Key table type