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

Table Of Contents
The following command displays the recommended list of attributes for the user account entry
with the distinguished name (DN), "cn=sfong,ou=people,dc=org,dc=example,dc=com":
./ldapcfinfo -t passwd -a "cn=sfong,ou=users,dc=org,dc=example,dc=com"
Below is the output of the command:
cn
uid
uidnumber
gidnumber
loginshell
homedirectory
gecos
description
Displaying Attribute Mapping for a Specific Name Service
Use the ldapcfinfo -t <type> -m command to display attribute mapping information
defined in the LDAP-UX configuration profile. The valid <type> value can be passwd or group.
The following command displays the attribute mapping for the gecos attribute which has been
mapped to cn, l and telephone attributes:
./ldapcfinfo -t passwd -m gecos
The output of the above 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 above command is:
gecos=cn l telephoneNumber
uidNumber=employeeNumber
140 Administering LDAP-UX Client Services