Skip to content

Add krb5_keytab for specifying a Kerberos client keytab - #74

Draft
grawity wants to merge 1 commit into
arthurdejong:masterfrom
grawity:krb
Draft

Add krb5_keytab for specifying a Kerberos client keytab#74
grawity wants to merge 1 commit into
arthurdejong:masterfrom
grawity:krb

Conversation

@grawity

@grawity grawity commented Dec 26, 2024

Copy link
Copy Markdown

Current MIT Kerberos versions support automatically obtaining client tickets from a keytab without the need for external kinit/k5start. Unfortunately nslcd prevents this by clearing its environment, and setting the keytab globally via krb5.conf is not always desirable.

It would be great if nslcd could be configured to preserve certain environment variables (also for #40), but I went for the simpler option of only setting the specific envvar.

Since the goal here was to let libkrb5 handle everything, I didn't go as far as implementing the "manual" kinit-like ticket acquisition via krb5_init_creds_set_keytab(). Not sure if that's useful.

Current MIT Kerberos versions support automatically obtaining client
tickets from a keytab without the need for external kinit/k5start.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant