From c470af3749026d619a980b5eec7fa94788da5f35 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 22 Jul 2020 15:01:50 +0100 Subject: [PATCH] ITS#9121 add examples to manpage --- doc/man/man5/slapo-dynlist.5 | 37 ++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) 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