Here is the error:
org.springframework.ldap.InvalidSearchFilterException: Unbalanced parenthesis; nested exception is javax.naming.directory.InvalidSearchFilterException: Unbalanced parenthesis; remaining name 'DC=xx,DC=xx,DC=xx'
The exception is on the base DN which is DC=xx,DC=xx,DC=xx.
There are no parenthesis in the base DN at all.
The object filter that I have is formatted correctly:
(&(objectClass=user)(userPrincipalName=*)(!sAMAccountName=*-*))
The group filter that I have is formatted correctly:
(&(objectClass=group)(|(cn=xx)(cn=xy)))
There are no other LDAP strings in the settings.