LDAP company -> CustomerID mapping issue

Moderator: crythias

Locked
meraj
Znuny newbie
Posts: 6
Joined: 24 Jun 2010, 23:30
Znuny Version: 2.4.7

LDAP company -> CustomerID mapping issue

Post by meraj »

Hello,

I recently set up OTRS 3.0.6 to use LDAP for authentication. So far, authentication from LDAP works fine. The issue I am having is that I would like to pull the "company" LDAP attribute and map it to "CustomerID" so that I can associate users from a particular company with only their tickets. I have the following configured in my Config.pm:

Code: Select all

$Self->{CustomerUser} = {
     ...
     CustomerID => 'company',
     CustomerUserSearchFields => ['cn', 'givenname', 'mail', 'company'],
     ...
     Map => [
          ...
          [ 'UserCustomerID', 'CustomerID', 'company', 1, 1, 'var', '', 0],
          ...
     ]
     ...
};
However, when I list customers in the admin panel, the CompanyId field shows up as blank. Does anyone have any ideas or suggestions on how I can get OTRS to successfully recognize the company field i have populated in LDAP?

Thanks,

-m
OTRS 3.0.4, Windows Server 2008, MySQL
Locked