HP-UX Directory Server Administrator Guide HP-UX Directory Server Version 8.1 (5900-3098, May 2013)

Table 14 DNA entry attributes (continued)
DescriptionPlug-in attribute
Shows the next range of numbers that are available to be transferred. This attribute can
be set automatically by the plug-in according to the threshold and shared configuration
dnaNextRange
information; this can also be set manually for an administrator to specifically assign an
additional range of values to a server.
Sets a timeout period for a range request so that a server does not hang indefinitely
waiting for a transfer.
dnaRangeRequestTimeout
Sets a word or number (outside of the assigned range) that automatically triggers the
plug-in to assign a number to an attribute. This is a useful default to use for importing
entries.
dnMagicRegen
Sets a string to insert in front of whatever number is assigned. For example, if the prefix
is user and the assigned number for the attribute is 1001, then the final assigned value
is user1001.
dnaPrefix
3.6.3 Configuring unique number assignments
The unique number distribution is configured by creating different instances of the DNA Plug-in.
These DNA Plug-in instances can only be created through the command line, but they can be edited
through the Directory Server Console.
3.6.3.1 Configuring unique number assignments
NOTE:
Set up the DNA Plug-in on every supplier server, and be careful not to overlap the number range
values.
1. Create the shared container entry in the replicated subtree. For example:
ldapmodify -a -D "cn=directory manager" -w secret -p 389 -h server.example.com
dn: ou=Ranges, dc=example, dc=coma
objectclass: top
objectclass: extensibleObject
objectclass: organizationalUnit
ou: Ranges
dn: cn=Account UIDs, ou=Ranges, dc=example, dc=coma
objectclass: top
objectclass: extensibleObject
cn: Account UIDs
2. Enable the DNA Plug-in. By default, the plug-in entry (which is the container entry) is disabled.
ldapmodify -D "cn=directory manager" -w secret -p 389 -h server.example.com
dn: cn=Distributed Numeric Assignment Plugin,cn=plugins,cn=config
changetype: modify
replace: nsslapd-pluginEnabled
nsslapd-pluginEnabled: on
3. Create the new DNA Plug-in instance beneath the container entry.
ldapmodify -a -D "cn=directory manager" -w secret -p 389 -h server.example.com
dn: cn=Account UIDs,cn=Distributed Numeric Assignment Plugin,cn=plugins,cn=config
objectClass: top
objectClass: extensibleObject
cn: Account UIDs
dnatype: uidNumber
dnafilter: (objectclass=posixAccount)
dnascope: ou=People, dc=example,dc=com
dnanextvalue: 1
dnaMaxValue: 1300
dnasharedcfgdn: cn=Account UIDs,ou=Ranges,dc=example,dc=com
dnathreshold: 100
136 Creating Directory Entries