【发布时间】:2017-12-01 16:46:59
【问题描述】:
我正在尝试将我们当前的 LDAP 用户集成到 Centos 7 服务器上的 OTRS 6(我们正在从 OTRS 2.4.5 升级)。我正在尝试使用 AuthSyncModule,它将从我们的 LDAP 服务器获取当前 LDAP 用户并将它们同步到 OTRS 数据库中。下面的代码是我目前正在使用的:
$Self->{'AuthModule::UseSyncBackend'} = 'AuthSyncBackend';
# agent data sync against ldap
$Self->{'AuthSyncModule'} = 'Kernel::System::Auth::Sync::LDAP';
$Self->{'AuthSyncModule::LDAP::Host'} = 'xxx.xxx.co.uk';
$Self->{'AuthSyncModule::LDAP::BaseDN'} = 'dc=xxxxx6,dc=xxt';
$Self->{'AuthSyncModule::LDAP::UID'} = 'uid';
$Self->{'AuthSyncModule::LDAP::SearchUserDN'} = 'uid=xxxx,ou=xxxxe,dc=xxxxx6,dc=xxt';
$Self->{'AuthSyncModule::LDAP::SearchUserPw'} = 'some_password';
$Self->{'AuthSyncModule::LDAP::UserSyncMap'} = {
# DB -> LDAP
UserFirstname => 'givenName',
UserLastname => 'sn',
UserEmail => 'mail',
};
$Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups'} = [
'users',
];
在 Maint::Log::Print 中,它指出找不到给定用户的 UserID:
Every 2.0s: /opt/otrs/bin/otrs.Console.pl Maint::Log::Print Fri Dec 1 16:40:51 2017
Fri Dec 1 16:20:18 2017;;error;;OTRS-CGI-42;;No UserID found for 'john.doe'!
Fri Dec 1 16:12:03 2017;;error;;OTRS-CGI-42;;No UserID found for 'john.doe'!
Fri Dec 1 16:11:22 2017;;error;;OTRS-CGI-42;;No UserID found for 'john.doe'!
我一直在关注 OTRS 材料,用于从 LDAP 同步到 OTRS 数据库http://doc.otrs.com/doc/manual/admin/4.0/en/html/external-backends.html#agent-auth-backend-ldap。网上没有很多关于这个问题的资料,所以我有点不知所措。
任何关于我如何获得这项工作的帮助,那将是很棒的。
【问题讨论】:
标签: authentication active-directory ldap centos7 otrs