Created on 06-27-2017 12:20 PM - edited 09-16-2022 04:50 AM
Have anyone tried kadmin (connecting to AD KDC) after kerberising the hadoop cluster using Ambari?
I am using the same credentials and it is saying “Required KADM5 principal missing while initializing kadmin interface”. What is the recommended best way to AD KDC connection? Thanks for help
Created 06-27-2017 02:19 PM
You cannot use the MIT Kerberos package's kadmin tool to manage an Active Directory - you need to use Active Directory-specific tools, or for creating accounts, a tool that can communicate to the AD using LDAP.
For an LDAP approach, see this article posted by @dvillarreal: How to create AD principal accounts using OpenLdap utilities and adding it to a keytab.
Created 06-27-2017 12:35 PM
@Vishal Gupta You might not have added principals for kadmin/fqdn@DOMAIN as well as the legacy fallback kadmin/admin@DOMAIN. You can add them using kadmin.local
https://web.mit.edu/kerberos/krb5-1.13/doc/admin/admin_commands/kadmin_local.html
Created 06-27-2017 02:19 PM
You cannot use the MIT Kerberos package's kadmin tool to manage an Active Directory - you need to use Active Directory-specific tools, or for creating accounts, a tool that can communicate to the AD using LDAP.
For an LDAP approach, see this article posted by @dvillarreal: How to create AD principal accounts using OpenLdap utilities and adding it to a keytab.
Created 06-27-2017 11:39 PM
Thanks Robert and bhatt. This is helpful