hi All,
In this blog post we will look into some use cases that can lead to malformed or wrongly encoded files, which when used on Linux/Unix/VMware Appliances, can break different functionality. In particular we will see how malformed krb5.conf can break Kerberos authentication on a VMware vRealize Orchestrator Appliance. in this example a vRO (Add A PowerShell Host) Workflow can fail with “cannot locate default realm” error.
...
Caused by: javax.security.auth.login.LoginException: Cannot locate default realm
at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Unknown Source)
....
Caused by: KrbException: Generic error (description in e-text) (60) – Unable to locate Kerberos realm
at sun.security.krb5.Config.getRealmFromDNS(Unknown Source)
....
Wrong encoding or formatting of Linux configuration files can cause problems in VMware Appliances
Best Regards / Поздрави
Spas Kaloferov| Technical Solutions Architect | www.kaloferov.com