Filter the AD synchronization only for users, not groups

Moderator: crythias

Locked
katonacs73
Znuny newbie
Posts: 5
Joined: 03 Sep 2013, 10:07
Znuny Version: OTRS 3.2.9
Real Name: Csaba Katona

Filter the AD synchronization only for users, not groups

Post by katonacs73 »

Hello!

In our AD there are a lot of usergroup. When OTRS synchronize to the AD, the not just the "simple users", but the groups also appear in the list of customer in the Admin panel.

Is there any way to filter out the groups during the synchronization? How to do it? The filter condition could be the name (if the AD user has name then synchronize, else it is a group).

By!
wurzel
Znuny guru
Posts: 3274
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Filter the AD synchronization only for users, not groups

Post by wurzel »

Hi,

this should be possible with LDAP Filtering. something similiar to this for your groups...
filter => "(&(mail=*)(!(employeeNumber=9*))

see http://stackoverflow.com/questions/8319 ... er-with-or

Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
katonacs73
Znuny newbie
Posts: 5
Joined: 03 Sep 2013, 10:07
Znuny Version: OTRS 3.2.9
Real Name: Csaba Katona

Re: Filter the AD synchronization only for users, not groups

Post by katonacs73 »

Hi!

Thank you for the reply. I'm going to try it asap! :)

Best regards!
Locked