You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 30, 2022. It is now read-only.
I want to initialize a Kerberos context in default ccache, which is specified by KRB5CCNAME.
For example,
import os
os.environ['KRB5CCNAME'] = '/tmp/mycc'
with krbContext(using_keytab=True, principal='...', keytab_file='...'):
import subprocess
subprocess.call(['klist'])
Credential cannot be acquired in ccache /tmp/mycc, and error is raised
GSSError: Major (851968): Unspecified GSS failure. Minor code may provide more information, Minor (39756032): Principal in credential cache does not match desired name