translate ldap.CONSTRAINT_VIOLATION to ValueError