LDAP-UX Client Services B.05.01 Administrator Guide for HP directory servers and Windows ADS

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_files.so.1 adm
3. The following is an example beq command using UID number 102 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 d -s pwd -l /usr/lib/libnss_ldap.1 102
nss_status .............. NSS_SUCCESS
pw_name...........(user2)
pw_passwd.........(*)
pw_uid............(102)
pw_gid............(21)
pw_age............()
pw_comment........()
pw_gecos..........(gecos data in files)
pw_dir............(/home/user2)
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 d -s pwd -l /usr/lib/hpux64/libnss_ldap.so.1 102
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 pwd -l /usr/lib/hpux32/libnss_ldap.so.1 102
4. The following is 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:
./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. The following is 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:
./beq -k d -s grp -l /usr/lib/libnss_ldap.l 22
nss_status .............. NSS_SUCCESS
gr_name...........(igrp2)
gr_passwd.........(*)
gr_gid............(22)
388 Command and tool reference