Internet Express for Tru64 UNIX Version 6.10 Administration Guide (5900-1418, March 2011)

Table 5 LDAP Database Utilities
DescriptionOptionsProgram Name
Checks either ./ldapcd.conf
or /etc/ldapcd.conf against
the listing of directory servers in
the conf file. Validates all entries
related to the directory server.
Diagnostics are printed to
stdout; when the exit code is
greater than 0, a problem was
encountered.
Noneldap_check
Adds a user to the LDAP directory
server. Users can be specified on
the command line, in a file, or
from stdin (with -f -).
-b branch—Branch to add users to; should be a
full distinguished name, including the search base.
-f input-file – Specifies the name of the file
containing user records to add to the directory server.
-m – Modify existing record.
-n – Do not submit.
-v – Verbose output.
ldap_add_user
Deletes a user from the LDAP
directory server. You can specify
users on the command line, in a
file, or from stdin (with -f -).
-b branch – Branch to delete users from.
-f input-file – Specifies an input file containing
login names.
-n – Do not submit.
-v – Verbose output.
ldap_del_user
Retrieves entries selected from the
LDAP directory server for specified
users. By default, this program
selects all users on the default user
branch or search base.
-b branch – Branch to get users from.
-s searchfilter – Specifies an optional LDAP
search filter to select the password entries to output.
-S searchfilter – Specifies an optional LDAP
search filter to select the password entries to output.
Differs from the -s option in that the provided filter is
wrapped within a filter that adds an object class
restriction on the query.
-R start[-end] – Specifies a range of user IDs to
be retrieved, including the endpoints. If you do not
specify the -end portion of the range, then all users
greater than or equal to the start value are
retrieved.
-f output-file Specifies the name of the output
file in which to store search results (default is stdout).
ldap_get_user
Synchronizes the users in the
directory server with the provided
input which is in passwd format.
-b branch – Branch to add users to; should be a
full distinguished name, including the search base
-n – Do not submit
-v – Verbose output.
-C – Do not create/modify the CN attribute
ldap_sync_user
Adds a group to the LDAP
directory server. Can be used on
the command line, from a file, or
from stdin.
-b branch – Branch to which to add group.
-n – Do not submit.
-m – Modify existing entry.
-v – Verbose output.
ldap_add_group
Utilities for Maintaining User Information in the LDAP Directory Server 79