LDAP-UX Client Services B.04.00 with Microsoft Windows 2000/2003 Active Directory Administrator's Guide

Command, Tool, and Migration Script Reference
Client Management Tools
Appendix C170
Examples
The following command displays the fully qualified domain name
information for a given user john:
./get_ads_dom john
The output shows below after you run the above command:
Domain for user john is: usa.cup.hp.com
The uid2dn Tool
This tool, found in /opt/ldapux/contrib/bin, displays the user’s
Distinguish Name (DN) information for a given UID.
Syntax
uid2dn [UID]
where
UID
is a user’s UID information.
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=cup,DC=hp,DC=com
The get_attr_map.pl 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.
Syntax
get_attr_map.pl <service> <attribute>
where
services
is the name of the supported service,
attribute
is the
name of an attribute.