Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st. We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here. Need help or have questions? Drop us a line at [email protected]
Created on 01-07-201706:17 PM - edited 09-16-202201:38 AM
Background
After Kerberos HDP/HDF cluster, some native admin UI will return "401 Authentication required".
For example, Ambari
Infra Solr Admin UI
This is because the web UI is configured for SPNEGO (Simple and Protected GSSAPI Negotiation Mechanism) to extend Kerberos to HTTP. Client must have a valid Kerberos ticket and send by browser.
Mac Kerberos Client Configuration
Kerberos software is installed by default in Mac OS, but need to add configure file to access your KDC server.
@wbu Thank you for the post but could you please help me understand that how you have created HORTONWORKS.COM (REALM) and "hadoopadmin" principal on mac for which you have generated a ticket using principal's password? I am using "kadmin -l" to init a new REALM "EXAMPLE.COM" in line with cluster REALM and also the username "hadoopadmin" but when I try adding a REALM using "init -r <realm name>", I get:
kadmin: create_random_entry(krbtgt/[email protected]): randkey failed: Principal does not exist
init -r <realm name>