LDAP-UX Client Services B.04.10 Administrator's Guide (edition 7)

pw_audid..........(0)
pw_audflg.........(0)
2. An example beq command using user name adm as the search key, pwd (password) as the
service, and files as the library 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)
3. An example beq command using uid number 102 as the search key, pwd (password) as the
service and ldap as the library is shown below:
./beq -k d -s pwd -l /usr/lib/libnss_ldap.1102
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)
4. An example beq command using group name igrp1 as the search key, grp (group) as the
service, and ldap as the library 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)
5. An example beq command using a gid number as the search key, grp (group) as the service,
and ldap as the library is shown below:
./beq -k d -s grp -l /usr/libnss_ldap.l 22
nss_status .............. NSS_SUCCESS
gr_name...........(igrp2)
gr_passwd.........(*)
gr_gid............(22)
pw_age............()
Unsupported Contributed Tools and Scripts 175