NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLES | EXIT STATUS | ATTRIBUTES | SEE ALSO
The fildif command creates a filtered version of an LDIF input file. fildif takes a configuration file as an input parameter. This configuration file must conform to the configuration rules of the filtering service included as part of Directory Server, and must contain the specific set and element entries that define these rules. The configuration rules can be defined by using the console or at the command-line. For more information on the Filtering Service and how it is configured, see the Directory Server Administration Guide.
fildif does not require the directory server to be running.
A filtering service configuration is accessed through a pointer entry. The pointer entry is provided to fildif with the -b parameter. A pointer attribute within this entry (provided by the -a parameter) determines the RDN of the filtering service configuration entry to be used for the filtering.
The following options are supported:
The attribute that will be used inside the pointer entry to point to a particular filtering service configuration definition. If this parameter is not present, the default ds5partialReplConfiguration is used.
The pointer entry. This parameter is mandatory and specifies the DN of the entry that will be used as the filtering service configuration entry point. The entry specified by this DN must exist in the configuration file, specified by the -c parameter.
The configuration file in which the filtering configuration is stored.
Forces fildif to overwrite the contents of the specified output file, if it exists.
The input LDIF file whose contents will be filtered.
The output LDIF file in which the filtered results will be stored. If no output file is specified, the default output file is ./output.ldif.
# fildif -i data.ldif -o filt_data.ldif -f -c config_fildif.ldif -b "cn=conf_20,cn=sets,cn=filtering service,cn=features,cn=config" -a ds5PartialReplConfiguration
The following exit values are returned:
Successful completion.
An error occurred.
On error, verbose error messages are output to standard output.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Availability | SUNWdsvu |
Stability Level | Committed Private |
insync(1), entrycmp(1)
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLES | EXIT STATUS | ATTRIBUTES | SEE ALSO