Could not find domains in the directory
search cancel

Could not find domains in the directory

book

Article ID: 371349

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

When the customer tries to update the password for the bind user and save, they encounter the error message "Could not find domains in the directory."

 

The logs will show an error similar to the following:

2024-06-25T03:37:31.709282+00:00 vidm3 Horizon 2024-06-25T03:37:31,703 ERROR (Thread-14799) [VIDM1;6277aab9-0203-4e3e-9d7d-c54c1dfb2c02;10.204.19.180;] com.vmware.horizon.connector.management.ConnectorInstanceServiceImpl - Error occurred during updating domain.
2024-06-25T03:37:31.709329+00:00 vidm3 Horizon com.vmware.horizon.connector.management.exception.DomainNotFoundException: cms.connector.missing.domains
2024-06-25T03:37:31.709346+00:00 vidm3 Horizon at com.vmware.horizon.connector.management.ConnectorInstanceServiceImpl.updateDomains(ConnectorInstanceServiceImpl.java:369) ~[connector-management-business-0.1.jar:3.3.7.0 Build 21173100]
2024-06-25T03:37:31.709361+00:00 vidm3 Horizon at com.vmware.horizon.connector.management.ConnectorInstanceServiceImpl.updateDirectoryToConnectorInstanceAssociation(ConnectorInstanceServiceImpl.java:1017) ~[connector-management-business-0.1.jar:3.3.7.0 Build 21173100]
2024-06-25T03:37:31.709375+00:00 vidm3 Horizon at com.vmware.horizon.connector.management.rest.resource.connector.ConnectorInstanceResource.saveAssociateConnectorInstanceToDirectory(ConnectorInstanceResource.java:502) ~[connector-management-rest-0.1.jar:3.3.7.0 Build 21173100]

Environment

vIDM 3.3.7.0 Build 21173100

Cause

The `validateDirectoryConfig` column in the Connector table is set to false.

Resolution

Change the `validateDirectoryConfig` column in the Connector table to true.

 

cat /usr/local/horizon/conf/db.pwd
/opt/vmware/vpostgres/current/bin/psql -U horizon saas

saas=> update "Connector" set "validateDirectoryConfig" = true;
UPDATE 1