Bongazi's picture

Hi all,
i solved this by inserting the the below into the config.

 

 



##########################

   $Self->{CustomerUser} = {
    Name => 'LDAP Backend',
    Module => 'Kernel::System::CustomerUser::LDAP',
    Params => {
      Host => '111.111.111.111',
      BaseDN => 'OU=Departments,DC=domainname,DC=local',
      SSCOPE => 'sub',
      UserDN => 'username',
      UserPw => 'password',
AlwaysFilter => '(&(objectCategory=User)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))',
    },
CustomerKey => 'sAMAccountName',
  CustomerID => 'mail',
  CustomerUserListFields => ['sAMAccountName', 'sn', 'givenname', 'company',  'mail'],
  CustomerUserSearchFields => ['sAMAccountName', 'sn', 'givenname', 'company', 'mail'],
  CustomerUserPostMasterSearchFields => ['mail'],
  CustomerUserNameFields => ['givenname', 'sn'],
  CustomerUserValidFilter => '(company=*)',
  CustomerUserExcludePrimaryCustomerID => 0,
  Map => [
        [ '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', 'company', 0, 1, 'var' ],
        [ 'UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var' ],
        [ 'UserMobile', 'Mobile', 'mobile', 1, 0, 'var' ],
        [ 'UserRoom', 'Room', 'physicalDeliveryOfficeName', 1, 0, 'var' ],
  ],
};

##########################
 

Thank you,
Bongazi

 

 

Hi All,
I am totally new to OTRS and installed it fresh. Downloaded the ISO and created a VM.
Everything is running perfectly with exception to the Customer LDAP backend.
I have enabled LDAP in the frontend, and I am able to authenticate against AD (Edit Config Settings in Framework -> Frontend::Customer::Auth).

 

But I dont know how to get the customer backend on LDAP. Under the "Customer Management" I only have "Database Backend".

 

Please be so kind as to assist.

Kind regards,
Bongazi

Forum: 
Tags: 
Jeremy Davis's picture

Glad to hear you resolved your issue and thanks tons for posting back with the info that resolved it for you. Apologies that I haven't been along sooner. Take care and chat to you another time on the forums! :)

Add new comment