LDAP-UX Client Services B.05.00 Administrator's Guide
4. An example beq command using group name igrp1 as the search key, grp (group) as the
service, and ldap as the library in 32-bit mode on an HP-UX 11i v2 or v3 PA-RISC machine
is shown below:
./beq -k n -s grp -l /usr/lib/libnss_ldap.1 igrp1
nss_status .............. NSS_SUCCESS
gr_name...........(igrp1)
gr_passwd.........(*)
gr_gid............(21)
pw_age............()
gr_mem
(iuser1)
(iuser2)
(iuser3)
Use the following beq command if you are running 64-bit applications on an HP-UX 11i v2
or v3 Integrity server machine:
./beq -k n -s grp -l /usr/lib/hpux64/libnss_ldap.so.1 igrp1
Use the following beq command if you are running 32-bit applications on an HP-UX 11i v2
or v3 Integrity server machine:
./beq -k n -s grp -l /usr/lib/hpux32/libnss_ldap.so.1 igrp1
5. An example beq command using a gid number as the search key, grp (group) as the service,
and ldap as the library in 32-bit mode on an HP-UX 11i v2 or v3 PA-RISC machine is shown
below:
./beq -k d -s grp -l /usr/lib/libnss_ldap.l 22
nss_status .............. NSS_SUCCESS
gr_name...........(igrp2)
gr_passwd.........(*)
gr_gid............(22)
pw_age............()
gr_mem
(iuser1)
Use the following beq command if you are running 64-bit applications on an HP-UX 11i v2
or v3 Integrity server machine:
./beq -k d -s grp -l /usr/lib/hpux64/libnss_ldap.so.l 22
Use the following beq command if you are running 32-bit applications on an HP-UX 11i v2
or v3 Integrity server machine:
./beq -k d -s grp -l /usr/lib/hpux32/libnss_ldap.so.l 22
7.7.2 certutil (certificate database) tool
You can use the certutil command-line utility to create and modify the cert8.db and
key3.db database files. This tool can also list, generate, modify, or delete certificates within the
cert8.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, see Using the Certificate Database
Tool available at the following website:
http://www.mozilla.org/projects/security/pki/nss/tools/certutil.html
7.7.3 uid2dn (display user's DN) tool
This tool, found in /opt/ldapux/contrib/bin, displays user's Distinguish Name (DN)
information for a given UID.
332 Command and tool reference