LDAP-UX Client Services B.04.15 Administrator's Guide
./beq -k n -s pwd -l /usr/lib/hpux32/libnss_ldap.so.1 iuser1
2. An example beq command using user name adm as the search key, pwd (password) as the
service, and files as the library on the 32 bit of an HP-UX 11i v1, v2 or v3 PA machine is
shown below:
./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 on 64 bit of an HP-UX 11i v2 or v3 IA machine:
./beq -k n -s pwd -l /usr/lib/hpux64/libnss_files.so.1 adm
Use the following beq command on 32 bit of an HP-UX 11i v2 or v3 IA machine:
./beq -k n -s pwd -l /usr/lib/hpux32/libnss_files.so.1 adm
3. An example beq command using uid number 102 as the search key, pwd (password) as the
service and ldap as the library on the 32 bit of an HP-UX 11i v1, v2 or v3 PA machine is
shown below:
./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 on 64 bit of an HP-UX 11i v2 or v3 IA machine:
./beq -k d -s pwd -l /usr/lib/hpux64/libnss_ldap.so.1 102
Use the following beq command on 32 bit of an HP-UX 11i v2 or v3 IA machine:
./beq -k d -s pwd -l /usr/lib/hpux32/libnss_ldap.so.1 102
4. An example beq command using group name igrp1 as the search key, grp (group) as the
service, and ldap as the library on the 32 bit of an HP-UX 11i v1, v2 or v3 PA 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 on 64 bit of an HP-UX 11i v2 or v3 IA machine:
./beq -k n -s grp -l /usr/lib/hpux64/libnss_ldap.so.1 igrp1
Use the following beq command on 32 bit of an HP-UX 11i v2 or v3 IA 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 on the 32 bit of an HP-UX 11i v1, v2 or v3 PA 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 on 64 bit of an HP-UX 11i v2 or v3 IA machine:
./beq -k d -s grp -l /usr/lib/hpux64/libnss_ldap.so.l 22
Use the following beq command on 32 bit of an HP-UX 11i v2 or v3 IA machine:
./beq -k d -s grp -l /usr/lib/hpux32/libnss_ldap.so.l 22
234 Command and Tool Reference