Connecting to a Kerberos-Enabled Solr Instance from Your Local Machine: A Guide for Linux and Mac Users.
Copy the /etc/krb5.conf file from the Solr host to your local machine. If you already have a local /etc/krb5.conf file, you can merge both.
Create a user on the Key Distribution Center (KDC). Log in as root on the KDC, and enter "kadmin.local". Then, add the new user principal by entering "addprinc $USERNAME@EXAMPLE.COM".
On your local machine, use "kinit $USERNAME@EXAMPLE.COM" to obtain a valid Kerberos ticket.
Open Safari or Firefox and connect to your Solr URL, and it should automatically open.
Copy the /etc/krb5.conf file from the Solr host to your local machine. If you already have a local /etc/krb5.conf file, you can merge both.
Create a user on the Key Distribution Center (KDC). Log in as root on the KDC, and enter "kadmin.local". Then, add the new user principal by entering "addprinc $USERNAME@EXAMPLE.COM".
On your local machine, use "kinit $USERNAME@EXAMPLE.COM" to obtain a valid Kerberos ticket.
Open Safari or Firefox and connect to your Solr URL, and it should automatically open.
By following these steps, you can easily connect to a Kerberos-enabled Solr instance from your local machine on Linux and Mac."
Thanks for this post. This was helpful!
ReplyDelete