When trying to join a ProxySG to a Windows Domain an error appears: "LDAP constraint violation"
This error can be caused by having an unsupported amount of characters in either the proxy's hostname or the password used to join the domain.
Reduce the hostname or password to a shorter one depending on where the issue is.
Note: All characters are taken into account when creating the hostname. Make sure the credentials don't have any non-supported character as explained in article TECH242736