I managed to successfully instal OTRS 6 on my Centos 8 Server and using NGINX as the web server. root@localhost can login without any issue.
But my main goal is to integrate it with our Windows Active Directory 2019 to authenticate/automate the agent creations. Later part of integration will be the Customer creations.
I followed many guides from the internet and also stumbled upon this Forum, thats why I will try my luck and seek for any help that I can find here. I know that a lot of guys in this forum are quite familiar with OTRS.
I keep on hitting this error, Message: No UserID found for 'agent'!
I already tried to remove/change the password of the account that used to bind with the AD and I hit this error, Message: First bind failed! 80090308: LdapErr: DSID-0C090434, comment: AcceptSecurityContext error, data 52e, v4563 so I know that OTRS is communication with the AD.
Been trying to figure it out for almost 2days now. Any help will be much appreciated.
Below is my configuration.
Code: Select all
$Self->{'AuthModule1'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host1'} = 'AD-01.xx.xx.xx';
$Self->{'AuthModule::LDAP::BaseDN1'} = 'DC=xxx,DC=xx,DC=xx';
$Self->{'AuthModule::LDAP::UID1'} = 'sAMAccountName';
$Self->{'AuthModule::LDAP::GroupDN1'} = 'CN=Agents,OU=xx,DC=xx,DC=xx,DC=xx';
$Self->{'AuthModule::LDAP::AccessAttr1'} = 'member';
$Self->{'AuthModule::LDAP::UserAttr1'} = 'UID';
$Self->{'AuthModule::LDAP::SearchUserDN1'} = 'CN=Administrator,CN=Users,DC=xx,DC=xx,DC=xx';
$Self->{'AuthModule::LDAP::SearchUserPw1'} = 'admin_password';
$Self->{'AuthModule::LDAP::AlwaysFilter1'} = '';
$Self->{'AuthModule::LDAP::UserSuffix1'} = '@xx.xx.xx';
$Self->{'AuthModule::LDAP::Params1'} = {
port => 389,
timeout => 120,
async => 0,
version => 3,
};