LDAP-UX Client Services B.04.15 Administrator's Guide
6.7.2 certutil — Certificate Database Tool
You can use the certutil command-line utility to create and modify the Netscape Communicator
cert7.db and key3.db database files. This tool can also list, generate, modify, or delete certificates
within the cert7.db file. You can also use this tool to create, change the password, generate new
public and private key pairs, display the contents of the key database, or delete key pairs within
the key3.db file. For detailed command options and their arguments, refer to Using the Certificate
Database Tool available at http://www.mozilla.org/projects/security/pki/nss/tools/certutil.html.
6.7.3 uid2dn — Display User's Distinguished Name Tool
This tool, found in /opt/ldapux/contrib/bin, displays user's Distinguish Name (DN)
information for a given UID.
6.7.3.1 Syntax
uid2dn [UID]
where UID is a user's UID information.
6.7.3.2 Examples
The following command displays the user's DN information for a given user's UID john:
./uid2dn john
The output shows below after you run the above command:
CN=john lee,CN=Users,DC=usa,DC=example,DC=hp,DC=com
6.7.4 get_attr_map.pl — Get Attributemap from Profile Tool
This tool, found in /opt/ldapux/contrib/bin, gets the attributemap information for a given
name service from the profile file /etc/opt/ldapux/ldapux_profile.ldif.
NOTE: The get_attr_map.pl tool is being deprecated in LDAP-UX Integration B.04.15. This
tool may potentially not be supported in a future release. Consider using the ldapcfinfo -t
<type> -m <AttriName> command to perform the same task. See “The ldapcfinfo Tool”
(page 191) for details.
6.7.4.1 Syntax
get_attr_map.pl [<service>.<attribute>]
where services is the name of the supported service, attribute is the name of an attribute.
6.7.4.2 Examples
The following command gets the homedirectory attribute information for the passwd service:
./get_attr_map.pl passwd homedirectory
The following command gets the uidnumber attribute information for the passwd service:
./get_attr_map.pl passwd uidnumber
6.7 Unsupported Contributed Tools and Scripts 235