172
Novell eDirectory 8.8 Administration Guide
no
vd
ocx (
E
NU)
01
F
ebr
ua
ry
200
6
<!ELEMENT match-attr (value)+ >
<!ATTLIST match-attr
attr-name CDATA #REQUIRED>
<!ELEMENT placement (#PCDATA |
copy-name |
copy-attr |
copy-path |
copy-path-suffix)* >
You can have multiple placement-rule elements in the file. Each rule is processed in the order that it
appears in the file. If a record does not match any of the rules, that record is skipped and the skipping
does not generate an error.
The following examples illustrate how to format placement rules. The scr-dn-format="ldap" and
dest-dn-format="ldap" attributes set the rule so that the name space for the dn in the source and
destination is LDAP format.
The Novell Import Conversion Export utility supports source and destination names only in LDAP
format.
Placement Example 1:
The following placement rule requires that the record have a base class of
inetOrgPerson. If the record matches this condition, the entry is placed immediately subordinate to
the test container and the left-most component of its source dn is used as part of its dn.
<placement-rules src-dn-format="ldap" dest-dn-format="ldap">
<placement-rule>
<match-class class-name="inetOrgPerson"></match-class>
<placement>cn=<copy-name/>,o=test</placement>
</placement-rule>
</placement-rules>
With this rule, a record with a base class of inetOrgPerson and with the following dn:
dn: cn=Kim Jones, ou=English, ou=Humanities, o=UofZ
would have the following dn in the destination directory:
dn: cn=Kim Jones, o=test
Placement Example 2:
The following placement rule requires that the record have an sn attribute.
If the record matches this condition, the entry is placed immediately subordinate to the test container
and the left-most component of its source dn is used as part of its dn.
<placement-rules src-dn-format="ldap" dest-dn-format="ldap">
<placement-rule>
<match-attr attr-name="sn"></match-attr>
<placement>cn=<copy-name/>,o=test</placement>
</placement-rule>
</placement-rules>
With this rule, a record with the following dn and sn attribute:
dn: cn=Kim Jones, ou=English, ou=Humanities, o=UofZ
sn: Jones
Содержание EDIRECTORY 8.8 - GUIDE
Страница 4: ...novdocx ENU 01 February 2006...
Страница 16: ...16 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 68: ...68 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 90: ...90 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 116: ...116 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 128: ...128 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 184: ...184 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 249: ...250 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 307: ...308 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 333: ...334 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 371: ...372 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 439: ...440 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 519: ...520 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 529: ...530 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 555: ...556 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...