Novell eDirectory Management Utilities
169
no
vd
ocx
(e
n)
6 Ap
ril 20
07
<nds-name>surname</nds-name>
<app-name>sn</app-name>
</attr-name>
<class-name>
<nds-name>inetOrgPerson</nds-name>
<app-name>User</app-name>
</class-name>
</attr-name-map>
Example Command:
If the schema rules are saved to an
sr1.xml
file, the following command
instructs the utility to use the rules while processing the
1entry.ldf
file and to send the results to
a destination file,
outt1.ldf
.
ice -o -sfile://sr1.xml -SLDIF -f1entry.ldf -c -DLDIF
-foutt1.ldf
Create Rules
Create rules specify the conditions for creating a new entry in the destination directory. They support
the following elements:
Required Attributes
specifies that an add record must have values for all of the required
attributes, or else the add fails. The rule can supply a default value for a required attribute. If a
record does not have a value for the attribute, the entry is given the default value. If the record
has a value, the record value is used.
Matching Attributes
specifies that an add record must have the specific attributes and match
the specified values, or else the add fails.
Templates
specifies the distinguished name of a Template object in eDirectory. The Novell
Import Conversion Export utility does not currently support specifying templates in create
rules.
The following is the formal DTD definition for create rules:
<!ELEMENT create-rules (create-rule)*>
<!ELEMENT create-rule (match-attr*,
required-attr*,
template?) >
<!ATTLIST create-rule
class-name CDATA #IMPLIED
description CDATA #IMPLIED>
<!ELEMENT match-attr (value)+ >
<!ATTLIST match-attr
attr-name CDATA #REQUIRED>
<!ELEMENT required-attr (value)*>
<!ATTLIST required-attr
attr-name CDATA #REQUIRED>
<!ELEMENT template EMPTY>
<!ATTLIST template
template-dn CDATA #REQUIRED>
Summary of Contents for EDIRECTORY 8.8 SP2
Page 4: ...novdocx en 6 April 2007...
Page 116: ...116 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 128: ...128 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 255: ...256 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 406: ...408 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 563: ...566 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 573: ...576 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 601: ...604 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...