Command and Tool Reference

 

Client Management Tools

 

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.

 

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

 

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.

 

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.

 

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:

Chapter 5

145