VMware Identity Manager – Could not Pull the Required Object From Identity Manager

By | September 8, 2017

I was recently working in a customers environment to configure vRealize Log Insight with VMware Identity Manager. They had vIDM deployed some time ago and configured, primarily for vRealize Business for Cloud. I’m not yet that familiar with vIDM, and I learnt something new in troubleshooting this issue.

When logging in to vIDM to set up the new configuration, after going to Identity & Access Management > Directories > Selected the sync directory > Sync log,  I noticed there were sync issues with Active Directory:

There wasn’t much more information here to show what the issue might be, so I wanted to check out the logs. These can be found under Appliance Settings > VA Configuration > Manage Configuration, log in to the admin portal and then go to Log File Locations > Prepare Log Bundle. A ZIP file will be prepared which you can then download and extract. Inside the logs bundle is a file named connector.log.

Inside this file, I found some warnings as per below

Long story short, since deploying vIDM, the customer had changed domain controllers, and vIDM doesn’t automatically query the domain for available domain controllers. Instead, a file named domain_krb.properties is created when the configuration is first done, and this file contains information about the domain including the names of domain controllers that vIDM should query.

This sentence is from the linked VMware documentation page titled “About Domain Controller Selection (domain_krb.properties file)”;

The domain_krb.properties file determines which domain controllers are used for directories that have DNS Service Location (SRV records) lookup enabled. It contains a list of domain controllers for each domain. The connector creates the file initially, and you must maintain it subsequently. The file overrides DNS Service Location (SRV) lookup.

To summarise, you’ll need to manually update the domain_krb.properties file any time there are changes to domain controllers in the environment that vIDM is using. To do this:

  1. Log in to the vIDM appliance with the root account
  2. run vi /usr/local/horizon/conf/domain_krb.properties and press enter
  3. Make changes required to update the domain controllers listed for the domain and save the file
  4. Change the ownership of the file by running chown horizon:www /usr/local/horizon/conf/domain_krb.properties
  5. Restart the service by running service horizon-workspace restart

After making this change and updating the file to connect to valid domain controllers, I ran a re sync from vIDM and it went through successfully.

Leave a Reply

Your email address will not be published. Required fields are marked *