HP-UX Reference (11i v2 07/12) - 1M System Administration Commands A-M (vol 3)
l
ldapcfinfo(1M) ldapcfinfo(1M)
NAME
ldapcfinfo - programmatically provides LDAP-UX information to non-interactive applications
SYNOPSIS
ldapcfinfo -h
ldapcfinfo
[-t type]
ldapcfinfo [-t type]{-A
| -P | -D | -L | -b | -s |
-f | -m atobName[,...]}
ldapcfinfo [-t type] -L
ldapcfinfo
{-t type | -T
template_file} -R
ldapcfinfo
[-t type] -a
DN
DESCRIPTION
ldapcfinfo allows non-interactive applications to programmatically discover information about LDAP-
UX configuration, including:
• If LDAP-UX is properly configured and active.
• LDAP-UX configuration profile location.
• LDAP-UX configuration profile information.
• Required attributes when creating new users or groups.
The following is a summary of ldapcfinfo commands:
ldapcfinfo [-t type]
Discover if LDAP-UX is properly configured for the specified service type.
ldapcfinfo [-t type]{-A|-P|-D|
-L|-b|-s|-f|-m atobName[,...]}
Display information about the active LDAP-UX configuration profile.
ldapcfinfo [-t type] -L
Display the list of default and user defined template files.
ldapcfinfo {-t type | -T template_file} -R
Discover the list of required attributes in the specified (or default) template file.
ldapcfinfo [-t type] -a DN
Discover a suggested list of modifiable attributes for the specified entry.
Options
-t type Specifies the service name for which to retrieve configuration information.
Possible service names are: passwd, group, netgroup
, services, rpc, hosts,
networks, automount , automountmap , publickey, protocols, and pam.
If the -t argument is not specified, ldapcfinfo assumes the passwd name service (if
applicable to the argument specified). If the
-t option is the only argument specified on
the command line, ldapcfinfo will report if LDAP-UX is properly configured and active
for the specified service.
-A Reports if the user running the ldapcfinfo command has the ability to use the LDAP
administrator’s credential, if configured.
ldapcfinfo returns zero exit status if the user has rights to access the LDAP
administrator’s credential. ldapcfinfo returns a non-zero exit status if not.
Please refer to the section titled Configure LDAP-UX Client Services with Publickey Sup-
port in the LDAP-UX Client Services Administrator’s Guide for additional details about the
LDAP-UX administrator credential. This document can be found at
http://docs.hp.com/en/internet.html
.
-P Displays the distinguished name of the LDAP-UX configuration profile and LDAP server
which hosts that profile. Format will be:
dn: disginguishedName
host: hostname/ip:port
If SSL or TLS is required to download the profile, host: will be replaced with hostssl:.
HP-UX 11i Version 2: December 2007 Update − 1 − Hewlett-Packard Company 455