Kerberos authentication from MacOS Monterey to access Hadoop Web UI post cluster Kerberization
Hi Team,
I want to setup kerberos client in my Mac Laptop having MacOS Monterey (version 12.6.5). I have put the krb5.conf file at below paths.
/etc/krb5.conf
/Library/Preferences/edu.mit.kerberos
But when I try to run kinit, i get gelow error.
--
kinit -kt /Users/banshidhar_sahoo/Desktop/POC_KEYTAB/test.headless.keytab test@EXAMPLE.COM
kinit: krb5_get_init_creds: unable to reach any KDC in realm EXAMPLE.COM, tried 0 KDCs
--
I have also set the ENV Variable as below:
KRB5_CONFIG=/etc/krb5.conf
But getting same error while doing kinit.
Can you please suggest how to point to krb5.conf so that it can reach out to the correct kdc server.
Regards,
Banshi.

