Open nicowilliams opened 4 years ago
There is also no need to refer to any KRB5*
env vars, except as a helping hand for users who are unfamiliar with MIT Kerberos or Heimdal. Certainly there is no need to refer to these in code.
If you must have programmatic support for the specification of alternative, non-default credentials and credentials stores, then I recommend that you use gss_acquire_cred_from()
, which lets you specify a set of key/value pairs including ones for specifying ccache and keytab names.
The README discusses using client keytabs. This is not important, and it's mostly useless.
Just use
GSS_C_NO_CREDENTIAL
as the credential handle on the initiator and acceptor sides.