LDAP Add Entry

In this article

Overview

You can use this Snap to add a new LDAP entry onto the LDAP server.

Snap Type

The LDAP Add Entry Snap is a Write-type Snap.

Prerequisites

None.

Support for Ultra Pipelines 

Works in Ultra Pipelines. 

Limitations and Known Issues

None.

Snap Views

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

 

  • Min: 0

  • Max: 1

File Reader followed by CSV Parser. 

The Distinguished name of the entry and a set of attributes. An attribute consists of aname and value.

Output

Document

  • Min: 0

  • Max: 1

None

The entry (if did not exist before) will be added to the server.

Error

Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter while running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab. The available options are:

  • Stop Pipeline Execution: Stops the current pipeline execution when the Snap encounters an error.

  • Discard Error Data and Continue: Ignores the error, discards that record, and continues with the rest of the records.

  • Route Error Data to Error View: Routes the error data to an error view without stopping the Snap execution.

Learn more about Error handling in Pipelines.

Snap Settings

Field

Field Type

Description

Field

Field Type

Description

Label*


Default Value: LDAP Add Entry
Example: Add entries



String

Specify a unique name for the Snap.

Distinguished name*


Default Value: None
Example: cn=snap,ou=People,dc=Snaplogic,dc=com



String/Expression

Specify the distinguished name (DN) of the entry to which a new attribute is added.

DN uniquely identifes a certain entry and its position in the directory information tree (DIT) hierarchy. The DN of an LDAP entry is similar to the path of a file on a file system.

 



Pass through


Default Value: Deselected

Checkbox

Select this checkbox to include the entire input data in the Snap's output. The Snap includes this data within the $original field in the output. 

 

Entry type


Default value: Other
Example: Courier Mail: Account



Dropdown list

Specify the type of entry. The options available include:

  • Courier Mail: Account

  • Courier Mail: Alias

  • Generic: Address Book Entry

  • Generic: DNS Entry

  • Generic: LDAP Alias

  • Generic: Organizational Role

  • Generic: Organizational Unit

  • Generic: Posix Group

  • Generic: Simple Security Object

  • Generic: User Account

  • Kolab: User Entry

  • Samba: Account

  • Samba: Group Mapping

  • Samba: Machine

  • Thunderbird: Address Book Entry

  • User Group

  • Other

An LDAP entry is a collection of information about an entity. Each entry consists of three components: Distinguished Name (DN), collection of attributes, and a collection of object classes.

Attribute value delimiter


Default Value: None
Example: ,(Comma), ;(Semi-colon),  :(Colon),  /(Backslash)

String/Expression

Specify the character or string to use as a delimiter to split the value of an attribute into multiple values.

 



Attributes

 



 



Use this field set to define the attributs for the entry.

  • Attributes hold the data for an entry. Each attribute has an attribute type, zero or more attribute options, and a set of values that comprise the actual data.

  • Attribute types are schema elements that specify how attributes must be treated by LDAP clients and servers.

Attribute name*

 

Default Value: N/A
Example: department

String/Expression/Suggestion

Specify the name of the attribute to be attached with this entry.

 



Attribute value*

 

Default Value: N/A
Example: engineering

String/Expression

Specify the value to be assigned to the attribute.




Default Value: Execute only
Example: Validate & Execute

Dropdown list