Skip to Content.
Sympa Menu

en - Re: [sympa-users] Help with AD LDAP Group as Data Source

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Marco Gaiarin <address@concealed>
  • To: "Nico Lambrechts" (via sympa-users Mailing List) <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] Help with AD LDAP Group as Data Source
  • Date: Wed, 11 Nov 2020 21:12:02 +0100

Mandi! "Nico Lambrechts" (via sympa-users Mailing List)
In chel di` si favelave...

> I am in search for the correct setup to use a AD group as a data source for
> my SYMPA list.

I think first lavel query have to be:

(&(objectClass=group)(sAMAccountName=<groupname>))

and you have to catch 'distinguishedName' field; after that, the second
level query could be:

(&(objectClass=user)(memberOf:1.2.840.113556.1.4.1941:=<groupdn>)

and you have to extract somehing like 'mail', i suppose.


The culprit here is:

a) membership is listed in users as full DN, so you have to catch that
first.

b) the modifier ':1.2.840.113556.1.4.1941:' permit to query also nested
memberships.


Give it a try...

--
Non mi importa del petrolio, saro` un vile, un anormale
ma questa volta alle Crociate
non ci voglio andare! (E. Bennato)





Archive powered by MHonArc 2.6.19+.

Top of Page