Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authenticate to LDAP using keytab #105

Open
joernheissler opened this issue Aug 15, 2024 · 0 comments
Open

Authenticate to LDAP using keytab #105

joernheissler opened this issue Aug 15, 2024 · 0 comments

Comments

@joernheissler
Copy link

Hello,

currently I need to specify binddn and bindpass in POST /auth/kerberos/config/ldap.
Could you please add the option to authenticate using the kerberos keytab I already provided in /auth/kerberos/config?

I don't know "go" and all the libraries, but I think that most required code already exists. Maybe go-ldap needs another constructor besides NewClientWithKeytab that takes a keytab blob instead of a filename?

The shell equivalent that works for me is:

kinit -k -t vault-stg.keytab 'vault-stg$'
ldapsearch -H ldaps://ldap1.example.net/ -Y GSSAPI -b DC=example,DC=net -O maxssf=256 '(query)'
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

No branches or pull requests

1 participant