Setup guide
The setpin Command
Chapter 4 PIN Generator Tool 35
• ["binddn=<user_id>" bindpw=<bind_password>]
<user_id> specifies the user ID that has read and write permission to the
LDAP directory; the PIN Generator binds to the directory as this user.
<bind_password> specifies the password for the user ID that has read and
write access to the LDAP directory. If the bind password is not given at the
command line, the tool pro mpts for it.
• [objectclass=<objectclass_to_add>]
Use this argument to specify the object class, if any, the tool should add to the
authentication directory. By default it is
pinPerson.
• [attribute=<attribute_name_for_pins>]
Use this argument to specify the authentication directory attribute to which
PINs should be published. If you don’t specify an attribute, it defaults to
pin,
the new attribute ad ded to the authentication-directory schema.
• ["filter=<LDAP_search_filter>"]
Use this argument tofilterthose DNs in the directory forw hich the tool should
generate PINs. For information on how to specify filters, see the information
available at this URL:
http://developer.netscape.com/docs/manuals/
dirsdk/capi/search.htm
• [input=<file_name>]
Use this argument to specify the name of the file that contains the list of DNs to
process. Using this argument is optional. If you do, the tool compares the
filtered DNs to the ones specified by the input file and generates PINs for only
those DNs that are also in the file.
• [length=<PIN_length> | minlength=<minimum_PIN_length>
maxlength=<maximum_PIN_length>]
Use this argument to specify the exact number or a range of characters that a
PIN must contain. The PINs can be either a fixed length or generated to be
between two values (x,y) inclusive (x,y>0).
<PIN_length> specifies the exact length for the PINs. For example, if you want
PIN length to be eight characters, enter
8. PIN length must be an integer
greater than zero.
<minimum_PIN_length> specifies the minimum length for the PINs. For
example, if you want PIN length to be at least six characters, enter
6.
<maximum_PIN_length> specifies the maximum length for the PINs. For
example, if you want PIN length to be nine characters at the most, enter
9.