LDAP-UX Client Services B.04.15 with Microsoft Windows Active Directory Server Administrator's Guide (edition 8)

Table Of Contents
Unsupported Contributed Tools and Scripts
This section describes contributed tools and scripts which are not officially supported by HP at
the present time.
beq Search Tool
The new beq tool expands the search capability beyond that currently offered by nsquery,
which is limited to hosts, passwd, and group. This search utility bypasses the name service
switch and queries the backend directly based on the specified library. The search will include
the following services: pwd, grp, shd, srv, prt, rpc, hst, net, ngp, and grm.
NOTE: HP does not support the beq tool at the present time.
The syntax for this tool, along with example output, is shown below.
Syntax
beq -k [n|d] -s <service> (-l <library>) (-h | -H <#>) <idl> (id1>
(<id2> (...))
where:
k [n|d] Required. The search key may be either n for name string or d for digit (a numeral
search).
-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 <#>
Specifies Help level (0-5). Larger numbers provide more information. If you
specify -h or -H, no other parameters are needed.
Table C-16 Service Description
DescriptionService
Password
pwd
Group
grp
Shadow Password
shd
Service
srv
Protocol
prt
RPC
rpc
Host
hst
Network
net
Netgroup
ngp
Group Membership
grm
Examples:
An example beq command using iuser1 (user name) 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 n -s pwd -l /usr/lib/libnss_ldap.1 iuser1
nss_status.............. NSS_SUCCESS
pw_name...........(iuser1)
260 Command, Tool, Schema Extension Utility, and Migration Script Reference