hautreux / auks

Kerberos credential support for batch environments
Other
21 stars 18 forks source link

slurm-auks dont' switch to old primary ccache on exit #51

Closed AndrewTsao closed 3 years ago

AndrewTsao commented 3 years ago
  1. I start a slurm job, then ssh to the host. Now ssh KRB5CCNAME is KRB5CCNAME=KEYRING:persistent:1275601911
  2. I start a auks job, job done.
  3. My ssh session klist show not found ccache.
    klist: Credentials cache keyring 'persistent:1275601911:krb_ccache_UXiwRMG' not found

I find Auks job would switch primary ccache, this behavior disturbe my another ssh krb5 environment.

I solve my problem to comment switch_cc_cache code in auks_krb5_cred.c.

Do you have some good idea?

AndrewTsao commented 3 years ago

I find I don't reslove my problem.

AndrewTsao commented 3 years ago

Finally, I upgrade cifs.upcall to resolve the problem. see: https://git.samba.org/?p=cifs-utils.git;a=commit;h=ed97e4ecab4e9a103c46232785fb76b3f07d0637