Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

LDAP ERR_04200 Unexpected character, Brackets in CN

dgainor123
Level 2
Level 2

I am trying to authenticate users from Active Directory that contain brackets in their CN.

["CN=last, first [local],OU=Users,DC=domain,DC=com"]

Error
{op:"ERR",uid:"",eid:" CN=last, first [local],OU=Users,DC=domain,DC=com",msg:"org.apache.jackrabbit.oak.spi.security.authentication.external.ExternalIdentityException: Error during ldap lookup."}

ldap.log
17.08.2016 13:05:23.302 *ERROR* [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] org.apache.jackrabbit.oak.security.authentication.ldap.impl.LdapIdentityProvider Error during ldap lookup
org.apache.directory.api.ldap.model.exception.LdapInvalidDnException: ERR_04200 Unexpected character '[' at position 19. Excpected EQUALS '='.

0 Replies