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

Problem with kerberos configuration on some systems #1

Closed
dragan-vujovic opened this issue Sep 1, 2016 · 1 comment
Closed

Problem with kerberos configuration on some systems #1

dragan-vujovic opened this issue Sep 1, 2016 · 1 comment

Comments

@dragan-vujovic
Copy link
Contributor

Default version of krb5.conf file on some systems has no default realm selected. For example if you spin a digital ocean instance with centos7 and install krb5-server krb5-libs krb5-workstation packages, the file will look something like this:

[logging]
 default = FILE:/var/log/krb5libs.log
 kdc = FILE:/var/log/krb5kdc.log
 admin_server = FILE:/var/log/kadmind.log

[libdefaults]
 dns_lookup_realm = false
 ticket_lifetime = 24h
 renew_lifetime = 7d
 forwardable = true
 rdns = false
# default_realm = EXAMPLE.COM
 default_ccache_name = KEYRING:persistent:%{uid}

[realms]
# EXAMPLE.COM = {
#  kdc = kerberos.example.com
#  admin_server = kerberos.example.com
# }

[domain_realm]
# .example.com = EXAMPLE.COM
# example.com = EXAMPLE.COM

Notice the commented out default realm. This causes the setup_kerberos script to fail on the following command:
kdb5_util create -s -P hadoop
kdb5_util: Configuration file does not specify default realm while getting default realm

@dragan-vujovic
Copy link
Contributor Author

Created a pull request with the fix.

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