I need to map the Service principal name for the user in an Active Directory from Linux environment, where my KDC is located, to Windows.
Is there a way to map the AD user from Linux rather than mapping them using setSPN in the Windows environment?
Solution tried:
Configured Krb5-conf in Linux machine and installed krb5-usr as a client in Linux machine.
While issuing the command to add a principal name for the user using the admin user, I get this error:
testuser@linux106:~$ kadmin -p adminuser/[email protected] -q "addprinc user1/[email protected]"
Authenticating as principal adminuser/[email protected] with password.
kadmin: Client not found in Kerberos database while initializing kadmin interface
Please provide input to achieve it or tell me if I misunderstood.