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

Instructions on how to get a keytab file #14

Open
fatmcgav opened this issue May 16, 2018 · 3 comments
Open

Instructions on how to get a keytab file #14

fatmcgav opened this issue May 16, 2018 · 3 comments

Comments

@fatmcgav
Copy link

I'm trying to set this plugin up now, and am struggling with getting a Keytab file generated...

Do you have any instructions that could be added to the README?

@ptulpen
Copy link

ptulpen commented Aug 27, 2018

Well, we use a service account for this and it works for us with: msktutil --update --use-service-account --account-name #youaccountname# --keytab /etc/foreman-proxy/realm_ad.keytab --dont-change-password --old-account-password #enterhere#

@martencassel
Copy link
Contributor

>ktutil
addent -password -p [email protected] -k 1 -e RC4-HMAC
- enter password for username -
wkt realm_ad.keytab
q
> kdestroy
> kinit [email protected] -k -t realm_ad.keytab; 
> klist
Ticket cache: KEYRING:persistent:1000:1000
Default principal: [email protected]

Valid starting       Expires              Service principal
2017-01-27 10:30:00  2017-01-27 20:30:00  krbtgt/[email protected]
	renew until 2017-02-03 10:30:00

@martencassel
Copy link
Contributor

martencassel commented Sep 23, 2024

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

3 participants