Check empty value in the LDAP auth

Moderator: crythias

Post Reply
stefanosimula
Znuny newbie
Posts: 9
Joined: 04 Aug 2022, 11:05
Znuny Version: 6.4.1
Real Name: Stefano Simula

Check empty value in the LDAP auth

Post by stefanosimula »

Hi,

In our company we use Znumy 6.4.1 and we'd like to add the Customer feaature support.
I've some questions about this:
  • 1. In order to do that, I understand that the CustomerID cannot be changed if we use a LDAP authentication, Is it right?
    2. Is there a way to fill the CustomerID in the Config.pm using the following algorithm:
    IF 'Company' is not empty THEN use Company ELSE use mail
Thanks,
Stefano
shawnbeasley
Znuny Employee
Posts: 132
Joined: 13 Sep 2021, 09:38
Znuny Version: Znuny 6.3.x
Real Name: Shawn Beasley
Company: Znuny

Re: Check empty value in the LDAP auth

Post by shawnbeasley »

Hi,

you cannot change any attribute of a user in a directory with Znuny, no.

The customer company features like customer information center and company tickets, automatically works with users of the same CustomerID. If you use CustomerCompanySupport => 1; in your backend configuration, data will be merged with any data saved in the Znuny Customer administration area.

There's currently no fallback option.

A CustomerID field is mandatory, and therefore should always be filled by your data source.

HTH
Post Reply