[SOLVED] CustomerCompanySupport and LDAP integration

Moderator: crythias

Locked
Giulio Soleni
Znuny wizard
Posts: 392
Joined: 30 Dec 2010, 14:35
Znuny Version: 6.0.x and 5.0.x
Real Name: Giulio Soleni
Company: IKS srl

[SOLVED] CustomerCompanySupport and LDAP integration

Post by Giulio Soleni »

Hi,
I tried to activate the CustomerCompanySupport (Default.pm un-comment the line CustomerCompanySupport => 1,) with my OTRS that already is ActiveDirectory integrated.
It doesn't work.
It seems to work for any new created customer, but not for customers authenticated from the LDAP.
That is, when I open a ticket from a "LDAP customer", in the zoom view of the ticket I can see all the data from the Company to which the customer belong (this binding is set as the definition of CustomerID when the customer is created), while this binding (CustomerID <-> Company) does not work if the CustomerID is taken from LDAP (even if the value of that field actually is the same of that defined for the Company).

Anyone else has experienced a similar issue?

Any help appreciated.
Giulio

Edit: OK, solved!
It's enough to set the CustomerCompanySupport => 1 under the $Self->{CustomerUser1} section of the Config.pm file also. Just keeping the two sections distinct (CustomerUser in Defaults.pm and CustomerUser1 in Config.pm) to allow both the usage of LDAP backend and of the internal DB.
OTRS 6.0.x on CentOS 7.x with MariaDB 10.2.x database connected to an Active Directory for Agents and Customers.
ITSM and FAQ modules installed.
Locked