Skip navigation
2941 Views 3 Replies Latest reply: Jul 29, 2008 2:49 PM by sixthring RSS
Travis Bronze 6 posts since
Jul 16, 2008
Currently Being Moderated

Jul 23, 2008 4:12 PM

Users with a  " / "  in their display name won't import from AD

 

I understand that the /   "forward slash" is an escape character for ADSI, but not for LDAP.

 

 

Does Openfire use the ADSI, if not, why does it fail to import users with a forward slash?

 

 

  • sixthring KeyContributor 3,789 posts since
    Apr 2, 2007

    You have already asked this question.  I gave you the answer:

     

    The forward slash is a special character that LDAP normally uses for internal purposes, as a separator between certain bits of the LDAP string. That's why it gets confused if an object name suddenly contains a /

     

    You can try to "escape" it with a \ - so replace your forward slash with a backslash-forward slash combo.

     

    This also applies to a number of other special chars in LDAP, such as comma (,), dot (.), equal sign (=), and a few more as you yourself have mentioned.

     

    Short of writing special code to automatically escape this character if found in the username there is no work around for your issue.  Just because other programs have written this code does not make it the proper solution.  In fact it encourages people to continue to use non-valid characters.

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points