LDAP ou name cannot be input with double code characters

Moderator: crythias

Post Reply
mshi
Znuny newbie
Posts: 66
Joined: 08 Mar 2011, 11:10
Znuny Version: 3.0

LDAP ou name cannot be input with double code characters

Post by mshi »

Hi,

To integrate OTRS with LDAP, we should configure OU name in Config.pm for BaseDN, such as

$Self->{'AuthModule::LDAP::BaseDN'} = 'ou=XX,dc=yourdomain,dc=com';

My issue is OTRS will not run properly after I input double code characters (Japanese) within the OU name filed for XX.

I know Perl program can support all type of encode including utf8, but I am not familiar with perl programing.

Can anyone help me fix this issue?

Thanks in advance,

Mshi
OTRS: 3.0.7
ITSM: 3.0.2
Running on: Ubuntu 10.04 LTS with MySQL, integrated with MS 2003 Active Directory Server
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: LDAP ou name cannot be input with double code characters

Post by crythias »

I am guessing here, because I can't verify it, but if you know the bytes that make up the characters, you might (?) be successful in slash escaping the byte equivalents \00\40
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
mshi
Znuny newbie
Posts: 66
Joined: 08 Mar 2011, 11:10
Znuny Version: 3.0

Re: LDAP ou name cannot be input with double code characters

Post by mshi »

Hi crythias

Your guessing provided me with right direction.

In perl file, each double code language character should be subtitude with hex byte format, like \x{60a8}.

Thanks,

Mshi
OTRS: 3.0.7
ITSM: 3.0.2
Running on: Ubuntu 10.04 LTS with MySQL, integrated with MS 2003 Active Directory Server
Post Reply