[Fwd: Re: [otrs] OTRS 2.2.4 OpenLDAP authentication]

I have the authentication working to OpenLDAP but I don't have mapping attributes required by OTRS to LDAP attributes. Also I have I would like to have LDAP to OTRS communications over 636 not 389. How do I integrate the Net::LDAPs into Config.pm, in perl: $obj = Net::LDAPS->new("$ldap_servers",port=>$ldap_port,verify=>$verify,cafile=>$cafile); ?? Relevant section of Config.pm $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP'; $Self->{'AuthModule::LDAP::Host'} = 'mblauth01.mbl.edu'; $Self->{'AuthModule::LDAP::BaseDN'} = 'dc=mbl,dc=edu'; $Self->{'AuthModule::LDAP::UID'} = 'uid'; $Self->{'AuthModule::LDAP::SearchUserDN'} = 'uid=search,ou=users,dc=mbl,dc=edu'; $Self->{'AuthModule::LDAP::SearchUserPw'} = 'secret'; $Self->{'AuthModule::LDAP::Params'} = { port => 389, timeout => 120, async => 0, version => 3, }; $Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP'; $Self->{'Customer::AuthModule::LDAP::Host'} = 'mblauth01.mbl.edu'; $Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'ou=users,dc=mbl,dc=edu'; $Self->{'Customer::AuthModule::LDAP::UID'} = 'uid'; $Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'uid=search,ou=users,dc=mbl,dc=edu'; $Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'secret'; $Self->{CustomerUser} = { Module => 'Kernel::System::CustomerUser::LDAP', Params => { Host => 'mblauth01.mbl.edu', BaseDN => 'dc=mbl,dc=edu', SSCOPE => 'sub', UserDN => 'uid=search,ou=users,dc=mbl,dc=edu', UserPw => 'secret', }, CustomerKey => 'cn', CustomerID => '[customer_id]', CustomerUserListFields => ['cn', 'mail'], CustomerUserSearchFields => ['cn', 'mail'], CustomerUserPostMasterSearchFields => ['mail'], CustomerUserNameFields => ['givenname', 'sn'], Map => [ [ 'UserFirstname', 'Firstname', 'givenname', 1, 1, 'var' ], [ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var' ], [ 'UserLogin', 'Login', 'cn', 1, 1, 'var' ], [ 'UserEmail', 'Email', 'mail', 1, 1, 'var' ], [ 'UserCustomerID', 'CustomerID', 'cn', 0, 1, 'var' ], ], }; } Kent
participants (1)
-
Kent Nasveschuk