Example; How The Tool Works - Netscape MANAGEMENT SYSTEM 6.1 - COMMAND-LINE Manual

Command-line tools guide
Table of Contents

Advertisement

Example

The following command generates PINs for all entries that have the
their distinguished name) defined in an LDAP directory named
listening at port
DirectoryManager
dn=o=example.com
any, with the new ones.
setpin host=lailing port=19000 "binddn=CN=directory manager"
bindpw=password "filter=(cn=*)" basedn=o=example.com clobber write

How the Tool Works

The Pin Generator allows you to generate PINs for user entries in an
LDAP-compliant directory and update the directory with these PINs. To run the
setpin
The host name (
The bind DN (
An LDAP filter (
For example:
setpin host=laiking port=19000 "binddn=CN=Directory Manager"
bindpw=netscape "filter=(ou=employees)" basedn=o=example.com
This command, if run, will query the directory for all the entries that match the
filter criteria, which in this case is all users belonging to an organizational unit (
called
standard error. Additionally, to the standard output or the file named in output;
see "Output File" on page 53.
You can also provide the tool with an input argument using the
argument must be in the form of an ASCII file of pre-prepared DNs and PINs (see
Figure 5-1). Note that the input file is not a substitute for the LDAP directory
entries; the filter attribute must still be provided. If an input file is provided, the
tool updates only those filtered attributes that match the ones in the input file. For
more information about the input file, see "Input File" on page 51.
. The PIN Generator binds to the directory as user
19000
and starts searching the directory from the node
in the directory tree
command, you need at a minimum to specify the following:
) and port number (
host
) and password (
binddn
filter
. For each entry matching the filter, information is printed out to
employees
The tool overwrites the existing PINs, if
.
port
bindpw
) for filtering out the user entries that require PINs
How the Tool Works
CN
laiking
) of the LDAP server
)
input
Chapter 5
PIN Generator Tool
attribute (in
that is
)
ou
option. The
49

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE MANAGEMENT SYSTEM 6.1 - COMMAND-LINE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Certificate management system 6.1

Table of Contents