LDAP-UX Client Services B.05.01 Administrator Guide for HP directory servers and Windows ADS
shd Shadow Password
srv Service
prt Protocol
rpc RPC
hst Host
net Network
ngp Netgroup
grm Group Membership
9.7.1.2 Examples
1. The following is an example beq command using iuser1 (user name) as the search key,
pwd (password) as the service, and ldap as the library in 32-bit mode on an HP-UX 11i v2
or v3 PA-RISC machine:
./beq -k n -s pwd -l /usr/lib/libnss_ldap.1 iuser1
nss_status .............. NSS_SUCCESS
pw_name...........(iuser1)
pw_passwd.........(*)
pw_uid............(101)
pw_gid............(21)
pw_age............()
pw_comment........()
pw_gecos..........(gecos data in files)
pw_dir............(/home/iuser1)
pw_shell..........(/usr/bin/sh)
pw_audid..........(0)
pw_audflg.........(0)
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 pwd -l /usr/lib/hpux64/libnss_ldap.so.1 iuser1
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 pwd -l /usr/lib/hpux32/libnss_ldap.so.1 iuser1
2. The following is an example beq command using user name adm as the search key, pwd
(password) as the service, and files as the library on a 32-bit HP-UX 11i v2 or v3 PA-RISC
machine:
./beq -k n -s pwd -l /usr/lib/libnss_files.1 adm
nss_status .............. NSS_SUCCESS
pw_name...........(adm)
pw_passwd.........(*)
pw_uid............(4)
pw_gid............(4)
pw_age............()
pw_comment........()
pw_gecos..........()
pw_dir............(/var/adm)
pw_shell..........(sbin/sh)
pw_audid..........(0)
pw_audflg.........(0)
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 pwd -l /usr/lib/hpux64/libnss_files.so.1 adm
9.7 Unsupported contributed tools and scripts 387