B
B
BenJackson2014-10-05 11:47:12
Perl
BenJackson, 2014-10-05 11:47:12

OTRS. Synchronization with AD, the list of clients in the backend is not pulled up, how to overcome it?

Good afternoon!
Help with my problem! I set up authorization in OTRS using domain accounts, but I can't make it so that the list of clients in the OTRS database is displayed. Where did I make a mistake?
I am attaching the config.
dd2c5ae9560145938ace1ea129d8d477.JPG

$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = '192.168.106.21';
$Self->{'AuthModule::LDAP::BaseDN'} = 'dc=jetmoney,dc=local';
$Self->{'AuthModule::LDAP::UID'} = 'userPrincipalName';
$Self->{'AuthModule::LDAP::GroupDN'} = 'CN=OTRSagents,CN=Users,DC=jetmoney,DC=local';
$Self->{'AuthModule::LDAP::AccessAttr'} = 'member';
$Self->{'AuthModule::LDAP::UserAttr'} = 'DN';
$Self->{'AuthModule::LDAP::SearchUserDN'} = 'CN=Adminotrs OTRS,CN=Users,DC=jetmoney,DC=local';
$Self->{'AuthModule::LDAP::SearchUserPw'} = 'Qwerty1+';
$Self->{'AuthModule::LDAP::AlwaysFilter'} = '';
$Self->{'AuthModule::LDAP::Params'} = {
port => 389,
timeout => 120,
async => 0,
version => 3,
};
$Self->{'AuthSyncModule'} = 'Kernel::System::Auth::Sync::LDAP';
$Self->{'AuthSyncModule::LDAP::Host'} = 'ldap://of-dom01.jetmoney.local/';
$Self->{'AuthSyncModule::LDAP::BaseDN'} = 'dc=jetmoney,dc=local';
$Self->{'AuthSyncModule::LDAP::UID'} = 'userPrincipalName';
$Self->{'AuthSyncModule::LDAP::SearchUserDN'} = 'CN=Adminotrs OTRS,CN=Users,DC=jetmoney,DC=local';
$Self->{'AuthSyncModule::LDAP::SearchUserPw'} = 'Qwerty1+';
$Self->{'AuthSyncModule::LDAP::UserSyncMap'} = {
UserFirstname => 'givenName',
UserLastname => 'sn',
UserEmail => 'mail',
};
   $Self->{CustomerUser} = {
    Name => 'ad',
    Module => 'Kernel::System::CustomerUser::LDAP',
    Params => {
      Host => '192.168.106.21',
      BaseDN => 'CN=ORTSagents,DC=jetmonej,DC=local',
      SSCOPE => 'sub',
   UserDN => 'CN=Adminotrs OTRS,CN=Users,DC=jetmoney,DC=local',
   UserPw => 'Qwerty1+',
   AlwaysFilter =>  '(&)',
   SourceCharset => 'utf-8',
   DestCharset  => 'utf-8',
   Die => 0,
   Parms => {
      port => 389,
      timeout => 120,
      async => 0,
      vertion => 3,
        },
    },

    CustomerKey => 'userPrincipalName',
    CustomerID => 'mail',
    CustomerUserListFields => ['userPrincipalName', 'cn', 'mail'],
    CustomerUserSearchFields => ['userPrincipalName', 'cn', 'mail'],
    CustomerUserPostMasterSearchFields => ['mail'],
    CustomerUserNameFields => ['givenname', 'sn'],
    Map => [		
    #['UserSalutation', 'Title', 'title', '1', '0', 'var'], 
['UserFirstname', 'Firstname', 'givenname', '1', '1', 'var'], 
['UserLastname', 'Lastname', 'sn', '1', '1', 'var'], 
['UserLogin', 'Login', 'sAMAccountName', '1', '1', 'var'], 
['UserEmail', 'Email', 'mail', '1', '1', 'var'], 
['UserCustomerID', 'CustomerID', 'mail', '0', '1', 'var'], 
#['UserPhone', 'Phone', 'telephonenumber', '1', '0', 'var'], 
#['UserAddress', 'Address', 'postaladdress', '1', '0', 'var'], 
#['UserComment', 'Comment', 'description', '1', '0', 'var'], 

    ],
  };

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question