setlookup(8)
System Administration 167
NAME setlookup - enable or disable the use of the Lightweight Directory Access Protocol
(LDAP) server for authentication and privilege lookup
SYNOPSIS setlookup -a {local|ldap}
setlookup -p {local|ldap}
setlookup -h
DESCRIPTION setlookup(8) sets whether authentication and privileges data are looked up in
LDAP or not.
Privileges You must have useradm privileges to run this command.
Refer to setprivileges(8) for more information.
OPTIONS The following options are supported:
OPERANDS The following operands are supported:
EXAMPLES
EXAMPLE 1 Enabling LDAP Lookup of Privilege Data
EXIT STATUS The following exit values are returned:
SEE ALSO showlookup(8)
-a Sets the authentication lookup. Used with one of the
required operands ldap or local.
-h Displays usage statement.
When used with other options or operands, an error
occurs.
-p Sets privileges lookup. Used with one of the required
operands ldap or local.
ldap Used with the -a and -p options. When set to ldap,
authentication or privileges are first looked up locally and then
in LDAP if not found locally.
local Used with the -a and -p options. When set to local,
authentication or privileges are looked up only locally.
XSCF> setlookup -p ldap
0 Successful completion.
>0 An error occurred.