LDAP-UX Client Services B.04.15 Administrator's Guide
6.2.3 The create_profile_schema Tool
This tool, found in /opt/ldapux/config, extends the schema of a Netscape Directory Server 6.x
with the DUAConfigProfile object class using the information you provide interactively. Typically
you run the setup program instead of running this program directly.
6.2.3.1 Syntax
create_profile_schema
6.2.4 The display_profile_cache Tool
This tool, found in /opt/ldapux/config, displays information from a binary profile (cache) file.
By default, it displays the currently active profile in /etc/opt/ldapux/ldapux_profile.bin.
6.2.4.1 Syntax
display_profile_cache [-i infile] [-o outfile]
where infile is a binary profile file, /etc/opt/ldapux/ldapux_profile.bin by default, and outfile
is the output file, stdout by default.
NOTE: The binary profile contains mappings for all backend commands (even unused ones)
all of which are displayed by display_profile_cache. The actual client configuration can be
reviewed in the configuration profile LDIF file: /etc/opt/ldapux/ldapux_profile.ldif.
6.2.4.2 Examples
The following command displays the profile in the binary profile file
/etc/opt/ldapux/ldapux_profile.bin to stdout:
display_profile_cache
The following command displays the profile in the binary profile file my_profile.bin and writes
the output to the file profile:
display_profile_cache -i my_profile.bin -o profile
6.2.5 The get_profile_entry Tool
This tool, found in /opt/ldapux/config, downloads a profile from an LDAP directory into an LDIF
file and calls create_profile_cache to create a binary profile file, thereby activating it on the client.
This tool looks in the local client configuration file /etc/opt/ldapux/ldapux_client.conf for the
profile DN.
6.2.5.1 Syntax
get_profile_entry -s service [-o outfile]
where service is the name of a supported service, typically NSS, and outfile is the name of
a file to contain the LDIF output, by default /etc/opt/ldapux_profile.ldif.
6.2.5.2 Examples
The following command downloads the profile for the Name Service Switch (NSS) specified in
the client configuration file /etc/opt/ldapux/ldapux_client.conf and places the LDIF in the file
/etc/opt/ldapux/ldapux_profile.ldif:
get_profile_entry -s NSS
The following command downloads the profile for the Name Service Switch (NSS) specified in
the client configuration file /etc/opt/ldapux/ldapux_client.conf and places the LDIF in the file
profile1.ldif:
get_profile_entry -s NSS -o profile1.ldif
6.2 Client Management Tools 141