"Could not resolve domains" when trying to add additional domains in vRealize Automation Integrated Windows Authentication (IWA) directory
book
Article ID: 325909
calendar_today
Updated On:
Products
VMware Aria Suite
Issue/Introduction
Symptoms:
Unable to sync vRealize Automation Integrated Windows Authentication directory when trying to add additional domains. Receive error "Could not resolve domains"
Errors found in Connector.log:
2018-08-17 15:17:27,279 ERROR (pool-90-thread-2) [[email protected];[email protected];127.0.0.1] com.vmware.horizon.directory.ldap.Pinger - AD <domain name>:null is not reachable. java.security.PrivilegedActionException: com.vmware.horizon.directory.DirectoryServiceException: Authentication failed for the given user using authentication mechanism - GSSAPI 2018-08-17 15:17:27,408 ERROR (tomcat-http--44) [[email protected];[email protected];127.0.0.1] com.vmware.horizon.directory.ldap.LdapCrossRefService - Unresolvable host and port for cross ref object for - <domain name>
Environment
VMware vRealize Automation 7.x
Resolution
For each appliance in the vRealize Automation cluster:
Check locations to see if there are two krb5.conf files on the appliance:
find /-iname krb5.conf
/usr/java/jre-vmware/lib/security/
/etc/krb5.conf
If both exist rename one and restart the horizon service:
Rename the wrong krb5.conf: (Location: /usr/java/jre-vmware/lib/security/)
mv krb5.conf krb5.conf.bak
service horizon-workspace restart
Login to vRealize Automation portal and re-sync the directory with additional domains.