Skip to Content.
Sympa Menu

en - Re: [sympa-users] include_ldap_2level_query and Active Directory groups.

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Stefan Hornburg (Racke)" <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] include_ldap_2level_query and Active Directory groups.
  • Date: Mon, 11 Jan 2021 18:52:19 +0100

On 1/11/21 2:14 PM, David Carter wrote:
> On 2021-01-11 13:05, Stefan Hornburg (Racke) wrote:
>
>> Does a group in AD correspond to a mailing list in Sympa?
>
> I am attempting to use the group in AD as a source of email addresses for a
> mailing list in Sympa
>
> My AD people tell me that:
>
> ldapsearch ... "(&(objectClass=person)(memberOf=GroupDN))" ... mail
>
> Is fine from a performance point of view at their end.
>

I use the following filter parameters for the include ldap query in one of my
projects using AD:

filter
(&(objectcategory=person)(extensionAttribute3=AttrName)(mail=*)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
attrs mail
select first

I suppose you can replace "extensionAttribute3=AttrName" with
"memberOf=GroupDN" in order to setup the inclusion
into the Sympa list.

Regards
Racke

--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature




Archive powered by MHonArc 2.6.19+.

Top of Page