LDAP Customer to company mapping

Moderator: crythias

Locked
puktar
Znuny newbie
Posts: 1
Joined: 30 Sep 2024, 10:13
Znuny Version: 6.5.8 LTS
Real Name: Popke

LDAP Customer to company mapping

Post by puktar »

Hello,

I have a setup with different "companies" all the members of these customers are member of specific AD groups in one big AD. All the users are in one big baseDN.
I want to auto sync the users in these groups to the company. Ad auth is working, AD sync for agents is also working so I get the general idea.

I am thinking of making multiple customer AD syncs with different (memberof) filters and hardcoding the mapping in the customerID field per sync.
So
User1 is memberof CompanyA group in AD.
So I map UserCustomerID1 to CompanyID - CompanyA in my CustomerUser1 MAP fields.


However I can't imagine that this is the most efficient way of doing this.

Is there an easier way? Since this also means I can only have 11 customer definitions.
paulfolkers
Znuny newbie
Posts: 45
Joined: 19 Jan 2024, 16:07
Znuny Version: 7.1.3
Real Name: Paul Folkers
Company: IT.WESER-EMS
Contact:

Re: LDAP Customer to company mapping

Post by paulfolkers »

Hi,

a mapping to a company name does only work with a mapping between CompanyID and a specific AD field.
As the memberOf contains the whole DN of the group, this won‘t work. But if you can fill another AD property with the desired company name, you could probably use that.

BR, Paul
Founder of IT.WESER-EMS (open source-focused IT-consulting) in Oldenburg, Northern Germany.
Dedicated to Znuny, GLPI and CheckMK 8)

Znuny consulting & development via IT.WESER-EMS
Locked