ITS#6290 dynamic group documentation

This commit is contained in:
Gavin Henry 2009-12-15 13:09:34 +00:00
parent be1d0945e6
commit ab01569248
3 changed files with 28 additions and 14 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View File

@ -551,18 +551,23 @@ directory.
In {{F:slapd.conf}}(5): In {{F:slapd.conf}}(5):
> include /path/to/dyngroup.schema
> ...
> overlay dynlist > overlay dynlist
> dynlist-attrset groupOfNames labeledURI member > dynlist-attrset groupOfURLs labeledURI member
+
+Note: We must include the {{F:dyngroup.schema}} file that defines the
+{{F:groupOfURLs}} objectClass used in this example.
Let's apply it to the following entry: Let's apply it to the following entry:
> cn=allusers,ou=group,dc=example,dc=com > cn=allusers,ou=group,dc=example,dc=com
> cn: all > cn: all
> objectClass: groupOfNames > objectClass: groupOfURLs
> labeledURI: ldap:///ou=people,dc=example,dc=com??one?(objectClass=inetOrgPerson) > labeledURI: ldap:///ou=people,dc=example,dc=com??one?(objectClass=inetOrgPerson)
The behavior is similar to the dynamic list configuration we had before: The behavior is similar to the dynamic list configuration we had before:
whenever an entry with the {{F:groupOfNames}} object class is retrieved, the whenever an entry with the {{F:groupOfURLs}} object class is retrieved, the
search specified in the {{F:labeledURI}} attribute is performed. But this time, search specified in the {{F:labeledURI}} attribute is performed. But this time,
only the distinguished names of the results are added, and as values of the only the distinguished names of the results are added, and as values of the
{{F:member}} attribute. {{F:member}} attribute.

View File

@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) --> <!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg <svg
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://web.resource.org/cc/" xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
@ -12,16 +13,22 @@
height="107.84196" height="107.84196"
id="svg2" id="svg2"
sodipodi:version="0.32" sodipodi:version="0.32"
inkscape:version="0.45.1" inkscape:version="0.46+devel"
version="1.0" version="1.0"
sodipodi:docbase="/home/andreas/palestra"
sodipodi:docname="allusersgroup-en.svg" sodipodi:docname="allusersgroup-en.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape" inkscape:output_extension="org.inkscape.output.svg.inkscape"
inkscape:export-filename="/home/andreas/palestra/ppolicy.png" inkscape:export-filename="/anything/src/openldap/ldap/doc/guide/admin/allusersgroup-en.png"
inkscape:export-xdpi="136.2" inkscape:export-xdpi="107.65753"
inkscape:export-ydpi="136.2"> inkscape:export-ydpi="107.65753">
<defs <defs
id="defs4"> id="defs4">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 53.920979 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="419.4133 : 53.920979 : 1"
inkscape:persp3d-origin="209.70665 : 35.947319 : 1"
id="perspective30" />
<marker <marker
inkscape:stockid="Arrow2Lstart" inkscape:stockid="Arrow2Lstart"
orient="auto" orient="auto"
@ -63,11 +70,12 @@
inkscape:current-layer="layer1" inkscape:current-layer="layer1"
showgrid="true" showgrid="true"
showguides="true" showguides="true"
inkscape:window-width="1280" inkscape:window-width="1274"
inkscape:window-height="953" inkscape:window-height="950"
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="24" inkscape:window-y="25"
inkscape:guide-bbox="true" /> inkscape:guide-bbox="true"
inkscape:window-maximized="0" />
<metadata <metadata
id="metadata7"> id="metadata7">
<rdf:RDF> <rdf:RDF>
@ -76,6 +84,7 @@
<dc:format>image/svg+xml</dc:format> <dc:format>image/svg+xml</dc:format>
<dc:type <dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work> </cc:Work>
</rdf:RDF> </rdf:RDF>
</metadata> </metadata>
@ -106,7 +115,7 @@
y="78.033184" y="78.033184"
id="tspan5379">objectClass: <tspan id="tspan5379">objectClass: <tspan
style="font-weight:bold" style="font-weight:bold"
id="tspan5396">groupOfNames</tspan></tspan><tspan id="tspan5396">groupOfURLs</tspan></tspan><tspan
sodipodi:role="line" sodipodi:role="line"
x="116.88309" x="116.88309"
y="92.036435" y="92.036435"

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB