From: Howard Chu Date: Wed, 22 Jul 2020 14:01:50 +0000 (+0100) Subject: ITS#9121 add examples to manpage X-Git-Tag: OPENLDAP_REL_ENG_2_5_0ALPHA~24^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c470af3749026d619a980b5eec7fa94788da5f35;p=thirdparty%2Fopenldap.git ITS#9121 add examples to manpage --- diff --git a/doc/man/man5/slapo-dynlist.5 b/doc/man/man5/slapo-dynlist.5 index e5491e3ef1..c10eb8a8d5 100644 --- a/doc/man/man5/slapo-dynlist.5 +++ b/doc/man/man5/slapo-dynlist.5 @@ -202,6 +202,43 @@ entry like dgIdentity: cn=Group Proxy,ou=Services,dc=example,dc=com .fi + +This example extends the dynamic group feature to add a dynamic +.B dgMemberOf +attribute to all the members of a dynamic group: +.LP +.nf + include /path/to/dyngroup.schema + # ... + + database + # ... + + overlay dynlist + dynlist\-attrset groupOfURLs memberURL member+dgMemberOf +.fi +.LP + + +This example extends the dynamic memberOf feature to add the +.B dgMemberOf +attribute to all the members of both static and dynamic groups: +.LP +.nf + include /path/to/dyngroup.schema + # ... + + database + # ... + + overlay dynlist + dynlist\-attrset groupOfURLs memberURL member+dgMemberOf@groupOfNames +.fi +.LP +This dynamic memberOf feature can fully replace the functionality of the +.BR slapo\-memberof (5) +overlay. + .SH FILES .TP ETCDIR/slapd.conf