
164
Novell eDirectory 8.8 Administration Guide
n
ov
do
cx (e
n)
11
Ju
ly 20
08
It is important to note that no forward references are allowed. Any attribute whose value you are
going to use must precede the current attribute in the attribute specification file. In the example
below, the cn as part of the dn is constructed from givenname, initial, and sn; therefore, these
attributes must preceed the dn in the settings file.
givenname: $R(first)
initial: $R(initial)
sn: $R(last) dn:o=novell,ou=dev,ou=ds,cn=$A(givenname,%.1s)$A(initial,%.1s)$A(sn)
The dn receives special handling in the LDIF file: no matter what the location of dn is in the settings,
it will be written first (as per LDIF syntax) to the LDIF file. All other attributes are written in the
order they appear.
Control Settings
provide some additional controls for the object creation. All controls have an
exclamation point (!) as the first character on the line to separate them from attribute settings. The
controls can be placed anywhere in the file.
!COUNTER=300
!OBJECTCOUNT=2
!CYCLE=title
!UNICYCLE=first,last
!CYCLE=ou,BLOCK=10
Counter
Provides the starting value for the unique counter value. The counter value is inserted to any
attribute with the $C syntax.
Object Count
OBJECTCOUNT determines how many objects are created from the template.
Cycle
CYCLE can be used to modify the behavior of pulling random values from the files ($R-
syntax). This setting has three different values.
!CYCLE=title
Anytime the list named “title” is used, the next value from the list is pulled rather than
randomly selecting a value. After all values have been consumed in order, the list starts from
the beginning again.
!CYCLE=ou,BLOCK=10
Each value from list “ou” is to be used 10 times before moving to the next value.
The most interesting variant of the CYCLE control setting is UNICYCLE. It specifies a list of
sources that are cycled through in left-to-right order, allowing you to create guaranteed unique
values if desired. If this control is used, the OBJECTCOUNT control is used only to limit the
number of objects to the maximum number of unique objects that can be created from the lists.
In other words, if the lists that are part of UNICYCLE can produce 15000 objects, then
OBJECTCOUNT can be used to reduce that number, but not to increase it.
For example, assume that the givenname file contains two values (Doug and Karl) and the sn
file contains three values (Hoffman, Schultz, and Grieger).With the control setting
!UNICYCLE=givenname,sn and attribute definition cn: $R(givenname) $R(sn), the following
cns are created:
Summary of Contents for EDIRECTORY 8.8 SP3
Page 4: ...novdocx en 11 July 2008...
Page 72: ...72 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 120: ...120 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 132: ...132 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 190: ...190 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 238: ...238 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 262: ...262 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 288: ...288 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 320: ...320 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 348: ...348 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 388: ...388 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 492: ...492 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 586: ...586 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 599: ...The eDirectory Management Toolbox 599 novdocx en 11 July 2008 Click Help for details...
Page 600: ...600 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 614: ...614 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...