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

ipa_replicascheme.rb will not run on RHEL7 #51

Open
wouterhummelink opened this issue Jan 2, 2015 · 2 comments
Open

ipa_replicascheme.rb will not run on RHEL7 #51

wouterhummelink opened this issue Jan 2, 2015 · 2 comments

Comments

@wouterhummelink
Copy link
Contributor

By default kerberos on RHEL7 no longer uses /tmp/krb5cc_ as a store for kerberos tickets, it now favors linux keyrings.

I've changed the script to do a regular kinit using the keytab, which solves the fact hanging waiting for a password:

  servers = Facter::Util::Resolution.exec("kinit -kt ~admin/admin.keytab admin && /sbin/runuser -l admin -c '/usr/sbin/ipa-replica-manage list' 2>/dev/null | /bin/egrep -v '#{fqdn}|winsync' | /bin/cut -d: -f1")
@robruma
Copy link
Contributor

robruma commented Jan 7, 2015

Thanks for reporting this issue @wouterhummelink can you submit a PR with the fix?

@wouterhummelink
Copy link
Contributor Author

I've created pull request

#53

I think this also eliminates the need for kstart entirely.

Rob Ruma schreef op wo 07-01-2015 om 14:19 [+0100]:
Thanks for reporting this issue @wouterhummelinkhttps://github.com/wouterhummelink can you submit a PR with the fix?


Reply to this email directly or view it on GitHubhttps://github.com//issues/51#issuecomment-69020311.

Met vriendelijk groet,
Wouter Hummelink

KPN IT Solutions
PO CS Web Hosting
Paalbergweg 1-3
Amsterdam Zuid-oost
M: 06-12882447
E: [email protected]

mmckinst added a commit to mmckinst/puppet-ipa that referenced this issue Jun 21, 2016
fixes issue huit#51

modified from pr huit#56 by wouterhummelink
mmckinst added a commit to mmckinst/puppet-ipa that referenced this issue Jun 21, 2016
fixes issue huit#51

modified from pr huit#56 by wouterhummelink
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

2 participants