LDAP-UX Client Services B.04.00 Administrator's Guide
Command and Tool Reference
beq Search Tool
Chapter 5 151
-s <service> Required. Indicates what backends are to be searched
for information.
-l <library> Query the backend directly. Bypass the APIs and skip
the name service switch.
-h Provides Help on this command.
-H <#> Speciļ¬es Help level (0-5). Larger numbers provide
more information. If you specify -h or -H, no other
parameters are needed.
Service | Description
pwd Password
grp Group
shd Shadow Password
srv Service
prt Protocol
rpc RPC
hst Host
net Network
ngp Netgroup
grm Group Membership
Examples
1. An example beq command using igrp1 (group name) 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
pw_name...........(iuser1)
pw_passwd.........(*)
pw_uid............(101)
pw_gid............(21)
pw_age............()
pw_comment........()
pw_gecos..........(gecos data in files)