LDAP-UX Client Services B.05.00 Administrator's Guide

7.7.3.1 Syntax
uid2dn [UID]
where uid is a user's UID information.
7.7.3.2 Examples
The following command displays the user's DN information for a given user's UID john:
./uid2dn john
The output shows below after you run the above command:
CN=john lee,CN=Users,DC=usa,DC=example,DC=hp,DC=com
7.7.4 get_attr_map.pl (get attributemap from profile) tool
This tool, found in /opt/ldapux/contrib/bin, gets the attributemap information for a given
name service from the profile file /etc/opt/ldapux/ldapux_profile.ldif.
NOTE: The get_attr_map.pl tool is being deprecated in LDAP-UX Integration B.04.15. This
tool may not be supported in a future release. Consider using the ldapcfinfo -t <type>
-m <AttriName> command to perform the same task. See Section 7.3.10 (page 286) for details.
7.7.4.1 Syntax
get_attr_map.pl [<service>.<attribute>]
where services is the name of the supported service, attribute is the name of an attribute.
7.7.4.2 Examples
The following command gets the homedirectory attribute information for the passwd service:
./get_attr_map.pl passwd homedirectory
The following command gets the uidnumber attribute information for the passwd service:
./get_attr_map.pl passwd uidnumber
7.7 Unsupported contributed tools and scripts 333