python-krbcontext icon indicating copy to clipboard operation
python-krbcontext copied to clipboard

gssapi error

Open cnfree0355 opened this issue 5 years ago • 4 comments

Hello, first of all thank you for your work, when I used this module, the following error occurred I don't know what caused it, try to solve it, but it doesn't take effect!

raise NotImplementedError("Your GSSAPI implementation does " NotImplementedError: Your GSSAPI implementation does not have support for manipulating credential stores And the package version is below: gssapi==1.6.9 krbcontext==0.10

cnfree0355 avatar Sep 07 '20 12:09 cnfree0355

Hi, could you please paste the full traceback here? That would be helpful to investigate.

tkdchen avatar Sep 08 '20 11:09 tkdchen

Hi, could you please paste the full traceback here? That would be helpful to investigate.

Sorry to reply so late ,and thans for your replay. My code is as below show

from krbcontext import krbContext

keytab="hdfs.keytab" relam="LLDATA.COM" principal= "{}@{}".format(str(keytab.split('.')[0]),relam) print(principal) with krbContext(using_keytab=True,principal=principal,keytab_file=keytab) as krb: print(krb)

when execute the code with python3 and report the following error image

However ,I search this error, Some issues say that the package is missing import gssapi.raw.ext_cred_store

image

I reinstall the gssapi and the error still exists,I don't know how to fix it

cnfree0355 avatar Sep 21 '20 10:09 cnfree0355

Sorry for so late response. Now, I have gssapi 1.6.9 installed, and all the imports you mentioned work for me. Is this still a problem for you?

tkdchen avatar May 26 '21 00:05 tkdchen

@tkdchen Same error with your same gssapi version.

I'm on MacOS Big Sur 11.5

KiraPC avatar Jul 26 '21 13:07 KiraPC