I have now tested dynlist and I have the memberOf working. Good.

I did a "remove user" test...

When I remove a user from the database, the entry is still present in the lists 
the user was member of.

In memberof(overlay) I used the "memberof-refint true" and this option removed 
the user from the lists (i think it was this option). Can I get the same 
behavior with dynlist (ie automatically remove deleted users from all lists) ?
________________________________
Från: Magnus Morén <[email protected]>
Skickat: den 1 december 2021 18:16
Till: [email protected] <[email protected]>; Quanah 
Gibson-Mount <[email protected]>
Ämne: Sv: Move from memberof to dynlist

Thank you for your rapid and helpful answer.


I got it working when waiting for the mail to be approved...

The successful syntax is now:

overlay dynlist
dynlist-attrset groupOfURLs memberURL uniqueMember+memberOf@groupOfUniqueNames


Best reagrds
________________________________
Från: Quanah Gibson-Mount <[email protected]>
Skickat: den 1 december 2021 17:48
Till: Magnus Morén <[email protected]>; [email protected] 
<[email protected]>
Ämne: Re: Move from memberof to dynlist



--On Wednesday, December 1, 2021 3:41 PM +0000 Magnus Morén
<[email protected]> wrote:

>
> I am trying to move from memberof(overlay) to dynlist but can't get it to
> work.

>  overlay dynlist
>  dynlist-attrset groupOfURLs memberURL member+memberOf@groupOfNames
>
> This dynamic memberOf feature can fully replace the functionality of the
> slapo-memberof(5) overlay.


Your attribute is "uniqueMember" not member, and your group objectClass is
"groupOfUniqueNames" not groupofNames.  You need to adjust the
dynlist-attrset accordingly.

--Quanah


--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>

Reply via email to