powered by Jive Software

Is it possible to map 2 groups AD?

Hi.

User filter:

(&(objectCategory=person)(objectClass=user)(memberOf=CN=SparkUsers,OU=forest,DC=org,DC=dc)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))

Works perfect. But I need to add second group. Is it possible?

1 Like

Sure… LDAP Filter should look like this:

(&(objectCategory=person)(objectClass=user)(|(memberOf=“DN of Second Group”)(memberOf=CN=SparkUsers,OU=forest,DC=org,DC=dc))(!(userAccountControl:1.2.840.113556.1.4.803:=2)))

See LDAP filter syntax:
& = and
| = or

1 Like

This is my preferred method.

1 Like

Thank you @totzkotz and @speedy. It works :slight_smile: