tLDAPOutput
tLDAPOutput Standard properties
These properties are used to configure tLDAPOutput running in the Standard Job framework.
The Standard tLDAPOutput component belongs to the Databases family.
The component in this framework is available in all Talend products.
Basic settings
| Properties | Description |
|---|---|
|
Property type |
|
|
|
Click this icon to open a database connection wizard and store the database connection parameters you set in the component Basic settings view. For more information about setting up and storing database connection parameters, see Centralizing database metadata. |
|
Use an existing connection |
Select this check box and in the Component List drop-down list, select the desired connection component to reuse the connection details you already defined. Note that when a Job contains the parent Job and the child Job, Component List presents only the connection components in the same Job level. |
|
Host |
LDAP Directory server IP address. |
|
Port |
Listening port number of server. |
|
Base DN |
Path to user's authorized tree leaf. |
|
Protocol |
Select the protocol type on the list. LDAP : no encryption is used LDAPS: secured LDAP. When this option is chosen, the Advanced CA check box appears. Once selected, the advanced mode allows you to specify the directory and the keystore password of the certificate file for storing a specific CA. However, you can still deactivate this certificate validation by selecting the Trust all certs check box. TLS: certificate is used When this option is chosen, the Advanced CA check box appears and is used the same way as that of the LDAPS type. |
|
User and Password |
Fill in the User and Password as required by the directory Note that the login must match the LDAP syntax requirement to be valid. e.g.: "cn=Directory Manager". To enter the password, click the [...] button next to the password field, enter the password in double quotes in the pop-up dialog box, and click OK to save the settings. |
|
Multi valued field separator |
Type in the value separator in multi-value fields. |
|
Alias dereferencing |
Select the option on the list. Never improves search performance if you are sure that no aliases is to be dereferenced. By default, Always is to be used: Always: Always dereference aliases Never: Never dereferences aliases. Searching:Dereferences aliases only after name resolution. Finding: Dereferences aliases only during name resolution |
|
Referral handling |
Select the option on the list: Ignore: does not handle request redirections Follow:does handle request redirections |
|
Insert mode |
Select the editing mode on the list: Add: add a value in a multi-value attribute, Insert: insert new data, Update: updates the existing data, Delete: remove the selected data from the directory, Insert or update: Insert a new record. If the record with the given reference already exists, an update would be made. Information noteWarning:
When Update is selected, you must go to the Advanced settings view, and select the Use Attribute Options (for update mode) check box to show the Attribute Options table. Then, select the attribute to update under the Attribute name part and the choose Replace under the Option part. |
|
DN Column Name |
Select in the list the type of the LDAP input entity used. |
|
Schema and Edit schema |
|
|
Die on error |
This check box is selected by default. Clear the check box to skip the row on error and complete the process for error-free rows. If needed, you can retrieve the rows on error via a Row > Reject link. |
Advanced settings
| Properties | Description |
|---|---|
|
Use Attribute Options (for update mode) |
Select this check box to choose the desired attribute (including dn, dc, ou, objectClass, mail and uid) and the corresponding operation (including Add, Replace, Remove Attribute and Remove Value). |
|
tStatCatcher Statistics |
Select this check box to gather the Job processing metadata at a job level as well as at each component level. |
Global Variables
| Variables | Description |
|---|---|
|
Global Variables |
NB_LINE: the number of rows processed. This is an After variable and it returns an integer. NB_LINE_REJECTED: the number of rows rejected. This is an After variable and it returns an integer. ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box. A Flow variable functions during the execution of a component while an After variable functions after the execution of the component. To fill up a field or expression with a variable, press Ctrl+Space to access the variable list and choose the variable to use from it. For more information about variables, see Using contexts and variables. |
Usage
| Usage guidance | Description |
|---|---|
|
Usage rule |
This component covers all possible LDAP queries. Note: Press Ctrl + Space bar to access the global variable list, including the GetResultName variable to retrieve the relevant DN Base automatically. This component allows you to carry out actions on a table or on the data of a table in an database. It also allows you to create a reject flow using a Row > Rejects link to filter data in error. For an example of tMysqlOutput in use, see Retrieving data in error with a Reject link. |