LDAP-UX Client Services B.05.01 Administrator Guide for HP directory servers and Windows ADS

Table 32 Return codes for ldapcfinfo (continued)
Invalid configuration file. Missing required configuration parameters.CFI_UGCONF_INVALID
The specified service appears properly configured for LDAP-UX
operation.
CFI_CONFIG_SUCCESS
The specified service not configured for LDAP-UX support.CFI_CONFIG_FAILURE
9.3.10.4 Examples
This section provides examples of using the ldapcfinfo tool:
The following command verifies that the LDAP-UX is properly configured for the passwd service:
cd /opt/ldapux/bin
./ldapcfinfo -t passwd
If the LDAP-UX is properly configured, output of the preceding command appears as follows:
INFO: CFI_CONFIG_SUCCESS
"passwd" service appears properly configured for LDAP-UX operation
The following command displays the attribute mapping for the gecos attribute which has been
mapped to the cn, l, and telephone attributes:
./ldapcfinfo -t passwd -m gecos
The output of the command is as follows:
gecos=cn l telephoneNumber
The following command displays the attribute mapping for the gecos and uidNumber attributes.
In this example,gecos has been mapped to cn, l and telephone attributes, and uidNumber
has been mapped to the employeeNumber attribute:
./ldapcfinfo -t passwd -m gecos,uidNumber
The output of the command is as follows:
gecos=cn l telephoneNumber
uidNumber=employeeNumber
The following command displays the LDAP-UX default search base for the passwd name service.
In this example, “ou=People,” has been configured as the search base for the passwd name
service.
./ldapcfinfo -t passwd -b
The output of the command is as follows:
ou=People,dc=example,dc=com
The following command displays the LDAP-UX default search base for the group name service.
In this example, ou=Groups, has been configured as the search base for the group name service.
./ldapcfinfo -t group -b
The output of the command is as follows
ou=Groups,ou=org,dc=example,dc=com
The following command displays the location of the LDAP-UX configuration profile:
./ldapcfinfo -P
The output of the command is as follows:
dn: cn=ldapux-profile,ou=org,dc=example,dc=com
host: 55.2.22.15:389
If SSL is required to download the profile, the output appears as follows:
dn: cn=ldapux-profile,ou=org,dc=example,dc=com
hostssl: 55.2.22.15:636
352 Command and tool reference