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

Table Of Contents
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
get_attr_map.pl Get Attribute Map from Profile Tool
This tool, found in /opt/ldapux/contrib/bin, gets the attribute map 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.
NOTE: The get_attr_map.pl tool is being deprecated in LDAP-UX Integration B.04.15. This
tool may potentially not be supported in a future release. Consider using the ldapcfinfo -t
<type> -m <AttriName> command to perform the same task. See “The ldapcfinfo Tool”
(page 219) for details.
Examples
The following command displays the homedirectory attribute information for the passwd
service:
./get_attr_map.pl passwd homedirectory
The following command displays the uidnumber attribute information for the passwd service:
./get_attr_map.pl passwd uidnumber
NOTE: HP does not support the get_ads_dom, uid2dn and get_attr_map tools at the
present time.
The get_ads_domTool Get the Fully Qualified Domain Name Tool
This tool, found in /opt/ldapux/contrib/bin, provides the fully qualified domain name
for a given user.
Syntax
get_ads_dom [username]
where username is a user name.
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.example.hp.com
Unsupported Contributed Tools and Scripts 263