Skip to main content

LDIF

This connector exports entries from an LDIF file.

This page is about LDIF .

Package: Directory/LDIF

Overview

The LDAP Data Interchange Format (LDIF) is a standard plain text data interchange format for representing LDAP (Lightweight Directory Access Protocol) directory content and update requests. LDIF conveys directory content as a set of records, one record for each object (or entry). It also represents update requests, such as Add, Modify, Delete, and Rename, as a set of records, one record for each update request.

Prerequisites

Implementing this connector requires no particular prerequisites.

Export

This connector generates a CSV file from an input LDIF file containing entries to be exported.

Configuration

This process is configured through a Connection in the UI and/or the XML configuration, and in the appsettings.agent.json > Connections section:

appsettings.agent.json
{
...
"Connections": {
...
"<ConnectionIdentifier>": {
...
}
}
}

The identifier of the connection and thus the name of the subsection must:

  • be unique.
  • not begin with a digit.
  • not contain <, >, :, ", /, \, |, ?, * and _.

For example:

appsettings.agent.json
{
...
"Connections": {
...
"LdifExport": {
"LDIFFile": "C:/identitymanagerContoso/Contoso/contoso.ldif",
"FilterAttribute": "objectClass",
"FilterValues": "user organizationalUnit",
"Attributes": [ "dn", "objectClass", "cn", "SAMAccountName", "Name", "userprincipalname" ],
"LdifEncoding": "UTF-8",
}
}
}

Setting attributes

NameDetails
LDIFFile requiredType String Description Path of the LDIF input file.
FilterAttribute requiredType String Description Property from the connector's configuration whose value is to be compared with the values from FilterValues, in order to filter the entries to export.
FilterValues requiredType String Description List of values to be compared with the value of FilterAttribute, in order to filter the entries to export. Identity Manager will export only the entries matching the filter. Note: multiple values must be separated by white spaces.
Attributes requiredType String List Description List of properties from the connector's configuration to be exported.
LdifEncoding default value: UTF-8Encoding of the file. See the list of available encodings.

Output details

This connector is meant to generate to the Application SettingsExport Output folder a CSV file named LdifExport.csv, with the following columns:

LdifExport.csv
Command,dn,objectClass,cn,SAMAccountName,Name,userprincipalname
Insert,value1,value2,...,valueN

Fulfill

There are no fulfill capabilities for this connector.

Authentication

Credential protection

This connector has no credential attributes, and therefore does not use Connection , nor a Connection Vault.

Still, data protection can be ensured through an Connection safe.