LDAP-UX Client Services B.05.00 with Microsoft Windows Active Directory Server Administrator's Guide (obsolete beyond B.05.00)
dn: cn=ldapux-profile,cn=system,dc=org,dc=example,dc=com
hostssl: 55.5.55.15:636
6.7.8.6 Displaying default search base
Use the ldapcfinfo -t <type> -b command to display the primary (first) configured search
base in the LDAP-UX profile configuration for a specific service. The valid <type> value can be
passwd or group.
The following command displays the LDAP-UX default search base for the passwd name service.
In this example, “cn=users,” has been configured as the search base for the passwd name service:
./ldapcfinfo -t passwd -b
The output of the above command is as follows:
cn=Users,dc=org,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 above command is as follows:
cn=Users,dc=org,dc=example,dc=com
6.7.8.7 Displaying recommended attributes
Use the ldapcfinfo -t <type> -a <DN> command to display a recommended list of attributes
that an interactive management tool considers making available for modification for the specified
entry.
The following command displays the recommended list of attributes for the user account entry with
the distinguished name (DN), "cn=sfong,cn=users,dc=org,dc=example,dc=com":
./ldapcfinfo -t passwd -a "cn=sfong,cn=users,dc=org,dc=example,dc=com"
Below is the output of the command:
cn
uid
uidnumber
gidnumber
loginshell
homedirectory
gecos
description
6.7.8.8 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
128 Administering LDAP-UX Client Services