Hello. I'm having problems installing OTRS, and is that I'm validating users using a Lotus' LDAP. The installation is in spanish, so that's the reason the charsets are so important. By default, Lotus works under the UTF-8 protocol as OTRS could if configured. The issue is that all the information comming from the users, is arriving with corrupted characters (ó instead of "ó", à instead of "í", etc.). I had tried changing the default value of Sysconfig::Framework::Core::charset for UTF-8, ISO-8859-1 with no success. On config.pm I've changed the following lines as recommended:
# if your frontend is e. g. iso-8859-1 and the charset of your
# ldap server is utf-8, use this options (if not, ignore it)
SourceCharset => 'utf-8',
DestCharset => 'iso-8859-1',
I tried different combinations of protocols and got nothing of it. I also enabled and/or disabled both lines. Got nothing either. Does anyone have a clue in how to solve this problem? many thanks
LDAP and Charset
Moderator: crythias
-
- Znuny ninja
- Posts: 1029
- Joined: 13 Apr 2009, 12:26
- Znuny Version: 6.0.13
- Real Name: Wolfgang Fürtbauer
- Company: PBS Logitek GmbH
- Location: Pinsdorf
Re: LDAP and Charset
I've had a similar problem with German Umlauts and the final solution was to set all config options in Config.pm to 'UTF8'; (and of course the OTRS database in UTF)
And - surprise, surprise - all conversion problems gone 
Code: Select all
$Self->{'DefaultCharset'} = 'utf-8';
...
$Self->{'AuthModule::LDAP::Charset'} = 'utf-8';
...
$Self->{CustomerUser1} = {
Name => 'Active Directory',
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
...
DestCharset => 'utf-8',
SourceCharset => 'utf-8',
Params => {
port => 3268,
timeout => 10,
async => 0,
version => 3,
},
},

Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting