Дано:
OTRS 3.0.9,
Active Directory (Win2k3)
Нужно:
Исправить кракозябры в ФИО при интеграции OTRS с Active Directory
Заранее благодарен за решение.
Кракозябры в ФИО при интеграции OTRS с Active Directory
Модератор: ykolesnikov
Кракозябры в ФИО при интеграции OTRS с Active Directory
- Вложения
-
- Кракозябры в ФИО при интеграции OTRS с Active Directory.PNG (9.65 КБ) 5313 просмотров
Re: Кракозябры в ФИО при интеграции OTRS с Active Directory
Подскажите, где ошибся?
OTRS идёт в Internal Server Error.
Код: Выделить всё
#Decode UTF AD Symbols
$Self->{'AuthSyncModule::LDAP::UserSyncRolesDefinition'} = {
'OU=Personal,DC=my_company,DC=ru' => {
'r_Personal' => 0,
decode('utf8', 'r_my_company') =>0,
decode('utf8', 'r_Personal') =>0,
},
otrs_Admins
'OU=Personal,DC=my_company,DC=ru' => {
'r_Personal' => 1,
decode('utf8', 'r_my_company') => 1,
},
Re: Кракозябры в ФИО при интеграции OTRS с Active Directory
Помогло следующее
Спасибо
Код: Выделить всё
$Self->{CustomerUser} = {
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
Host => 'gazenergocom.ru',
BaseDN => 'dc=gazenergocom, dc=ru',
SSCOPE => 'sub',
UserDN => 'CN=support-mail,CN=Users,DC=my_company,DC=ru',
UserPw => 'Pa$$w0rd',
SourceCharset => 'utf-8',
DestCharset => 'utf-8',
},