Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] Help with AD LDAP Group as Data Source
- 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)
-
[sympa-users] Help with AD LDAP Group as Data Source,
Nico Lambrechts, 11/09/2020
- Re: [sympa-users] Help with AD LDAP Group as Data Source, Marco Gaiarin, 11/11/2020
Archive powered by MHonArc 2.6.19+.