
Novell eDirectory Management Utilities
159
no
vd
ocx (
E
NU)
01
F
ebr
ua
ry
200
6
value is the same within a single object. The starting value can be specified in the settings file by
using the !COUNTER=
value
syntax.
Random Numeric Value
inserts a random numeric value into an attribute value using the following
syntax:
$N(<
low
-<
high
[,<format])]
<
low
and <
high
specify the lower and upper bounds, respectively, that are used as a random number
is generated. The optional <
format
specifies a print format that is to be applied to a value from the
list.
$N(1-999)
$N(1-999,%d)
$N(1-999,%03d)
Random String Value From a List
inserts a randomly selected string from a specified list into an
attribute value using the following syntax:
$R(<
filename
[,<
format
])]
The <
filename
specifies a file that contains a list of values. This can be an absolute or relative path to
a file. Several files containing the lists are included with this package. The values are expected to be
separated by a newline character.
The optional <
format
specifies a print format that is to be applied to a value from the list.
$A(givenname)
$A(givenname,%s)
$A(givenname,%.1s)
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
Содержание 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...