ERROR: SendSearchEntry failed DN=(cn=########-####-####-####-############,cn=ServiceRegistrations,cn=LookupService,cn=Country,cn=sites,cn=configuration,dc=vsphere,dc=local), (9207)()
WARNING: Access deny on search entry result [..\search.c,673] (bindedDN-cn=vcsa01.example.com,ou=Domain Controllers,dc=vsphere,dc=local) (targetDn-cn=########-####-####-####-############,cn=ServiceRegistrations,cn=LookupService,cn=Country,cn=sites,cn=configuration,dc=vsphere,dc=local)
[YYYY-MM-DDThh:mm:ss.####Z ########-####-####-####-############ WARN ] [LdapErrorChecker] Error received by LDAP client: com.vmware.identity.interop.ldap.WinLdapClientLibrary, error code: 50
[YYYY-MM-DDThh:mm:ss.####Z ########-####-####-####-############ ERROR] [IdentityManager] Identity Manager failed to initialize
[YYYY-MM-DDThh:mm:ss.####Z ########-####-####-####-############ ERROR] [ServerUtils] Exception 'com.vmware.identity.interop.ldap.InsufficientRightsLdapException: Insufficient Rights
VMware vCenter Server 7.x
VMware vCenter Server 8.x
This issue occurs if the VCSA machine account was removed from the built in DCAdmins group. The machine account is used by the embedded platform services controller to access and manage the internal domain controller of the SSO domain, which stores its data in vmdird. Hence it requires this permission, which is normally given to it via membership in this internal SSO group
Before applying the solution steps below, please ensure that a fresh backup or offline snapshot (in powered off state) of the vCenter Server was created. If the vCenter Server is in an Enhanced Linked Mode (ELM) replication with other vCenters, please be aware that offline snapshots must be created of all ELM nodes.
To solve this issue, add the VCSA machine account back to the DCAdmins group either by using Jxplorer or with an ldapadd command:
dn: cn=DCAdmins,cn=Builtin,dc=vsphere,dc=local
changetype: modify
add: member
member: cn=vcsa01.example.com,ou=Domain Controllers,dc=vsphere,dc=local
#/opt/likewise/bin/ldapadd -h <psc fqdn> -x -D "cn=administrator,cn=users,dc=vsphere,dc=local" -w '<SSO-administrator_password>' -f /tmp/add_member.ldif