I'm new to this forum, and my English is horrible, so please apologize my mestakes. I want to setup OTRS as a support tool closely related to Active Directory. I've wrote some lines to config.pm according to OTRS documentation found here: http://doc.otrs.org/3.2/en/html/externa ... ckend-ldap and here: http://doc.otrs.org/3.2/en/html/externa ... ckend-ldap.
All the changes I've made are lited below:
Code: Select all
#------------------------------------------------------#
# ActiveDirectory testing.local auth #
#------------------------------------------------------#
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = 'localhost';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=testing,dc=local';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'CN=otrs_search,CN=Users,DC=testing,DC=local';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'Password01';
$Self->{'Customer::AuthModule::LDAP::Params'} = {
port => 389,
timeout => 120,
async => 0,
version => 3,
};
$Self->{AuthModule} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = 'localhost';
$Self->{'AuthModule::LDAP::BaseDN'} = 'dc=testing,dc=local';
$Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthModule::LDAP::SearchUserDN'} = 'CN=Administrator,CN=Users,DC=testing,DC=local';
$Self->{'AuthModule::LDAP::SearchUserPw'} = 'Password01';
$Self->{'AuthModule::LDAP::Params'} = {
port => 389,
timeout => 120,
async => 0,
version => 3,
};
$Self->{AuthSyncModule} = 'Kernel::System::Auth::Sync::LDAP';
$Self->{'AuthSyncModule::LDAP::Host'} = 'localhost';
$Self->{'AuthSyncModule::LDAP::BaseDN'} = 'dc=testing,dc=local';
$Self->{'AuthSyncModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthSyncModule::LDAP::SearchUserDN'} = 'CN=Administrator,CN=Users,DC=testing,DC=local';
$Self->{'AuthSyncModule::LDAP::SearchUserPw'} = 'Password01';
$Self->{'AuthSyncModule::LDAP::UserSyncMap'} = {
UserFirstname => 'givenName',
UserLastname => 'sn',
UserEmail => 'mail',
};
$Self->{'AuthSyncModule::LDAP::Params'} = {
port => 389,
timeout => 120,
async => 0,
version => 3,
};

Thanks for your help
Smok.
*EDIT
I've found that I havent insatlled Net::LDAP. But when I Try to I realized that there is a bigger problem - I cannot install Perl modules. After cpan Net::LDAP i have a message that startup.mk is unavailable. The path is really wrong. The perl compiler is looking for this file in path C:\ Files\OTRS\and so on... insted C:\Program Files\OTRS\and so on.... The white space in folder name is the problem. So I did created the folder that compiler wants, and put files in it - now there is another problem. Compiler cannot include file C (32 line of file startup.mk) (file was copied as well as others to the newly created folder so it is on this same place in relative path). Full error messages available on demand

I haven't play much with perl so I dont know how to fix the problem.
Reali apreciate any help
Smok.