Symptoms:
- When importing an LDAP user, the following error is seen in the Cloud director UI:
Bad request Error getting groups for user [user name] Unbalanced parenthesis - Unbalanced parenthesis
- Within /opt/vmware/vcloud-director/logs/vcloud-container-debug.log, we see a stack trace similar to:
com.vmware.ssdc.backendbase.ldap.LdapSyncException: LDAP_SYNC_ERROR
at com.vmware.ssdc.backendbase.usermanagement.LdapSyncHelper$2.run(LdapSyncHelper.java:109)
at com.vmware.ssdc.backendbase.usermanagement.LdapSyncHelper$2.run(LdapSyncHelper.java:103)
...
Caused by: javax.naming.directory.InvalidSearchFilterException: Unbalanced parenthesis; remaining name ' dc=XXX,dc=XXX'
at java.naming/com.sun.jndi.ldap.Filter.findRightParen(Filter.java:694)
at java.naming/com.sun.jndi.ldap.Filter.encodeComplexFilter(Filter.java:656)