Tried it both ways with a single or double backslash and the following
is the error I get for double backslash.

failed to add entry: firstname, lastname 00002081: NameErr:
DSID-03050ADF, problem 2003
(BAD_ATT_SYNTAX), data 0, best match of:
        'CN=lastname\, firstname,OU=abc,DC=xyz,DC=com'
  at domain_ad_add.pl line 212, <DATA> line 422.


With single backslash, the error looks like this.  It seems that LDAP
has problem handling ",".  It thinks the levels are separated by
commas.

failed to add entry: firstname, lastname 0000208F: NameErr:
DSID-031001B3, problem 2006
(BAD_NAME), data 8350, best match of:
        'firstname,ou=abc,dc=xyz,dc=com'

Reply via email to