LDAP Entry Listener

Use the LDAP Entry Listener activity to monitor an LDAP server and retrieve entries based on the configured filters.

When using the LDAP Entry Listener activity to retrieve entries, you can add the LDIF activity to export the monitored results to an LDIF file.

General

In the General tab, you can establish a connection to an LDAP server, and specify a polling interval.

The following table lists the configurations in the General tab of the LDAP Entry Listener activity:

Field Module Property? Visual Diff?Description
NameNo YesThe name to be displayed as the label for the activity in the process.
LDAP ConnectionYes YesClick to select an LDAP Connection shared resource. The LDAP Connection shared resource creates a connection between the plug-in and an LDAP server.

If no matching LDAP Connection shared resources are found, click Create Shared Resource to create one. For more details, see Creating an LDAP Connection.

Polling Interval(ms)Yes YesEnter the polling interval (in milliseconds) to check the LDAP server.

Description

In the Description tab, you can enter a short description for the LDAP Entry Listener activity.

Advanced

In the Advanced tab, you can specify the object class of the entry that you want to monitor. The specified object class is displayed in the Output tab.

The following table lists the configurations in the Advanced tab of the LDAP Entry Listener activity:

Field Module Property? Visual Diff?Description
Base DNYes Yes Displays the distinguished name of the selected base entry.

Click Browse DIT to select a base entry from the Directory Information Tree (DIT).

The Select Base DN dialog is displayed when clicking Browse DIT. In the Select Base DN dialog, move the slider to specify the maximum number of entries to be displayed in the DIT. The maximum number is 10000.

Select Object Classes FromNo Yes Select a method to specify the object class of the entry that you want to monitor:

  • Sample Entry: if you select this option, the object class is retrieved from a sample entry.
  • LDAP Schema: if you select this option, the object class is selected from the LDAP schema.

Sample EntryNo No Click Browse DIT to select a sample entry. The object class defined for the selected entry is automatically populated in the Objectclasses field.
Note: This option is available only when you select Sample Entry in the Select Object Classes From field.
LDAP Schema ClassesNo NoClick Browse Schema to select one or more object classes. The selected object classes are automatically populated in the Objectclasses field.
Note: This option is available only when you select LDAP Schema in the Select Object Classes From field.
ObjectclassesNo YesDisplays the specified object classes of the entry to be monitored and retrieved.
FilterYes YesSpecify a filter option. The plug-in only monitors entries that conform to the specified filter.
Note: Entries that are deleted before monitoring cannot be retrieved.

You have to use lowercase letters when the plug-in connects to Red Hat Directory Server.

Enable Monitor AttributesNo YesWhen you select this option, the plug-in only monitors the attributes specified in the Monitor Attributes field.
Note: Only the Microsoft ADS/ADAM server supports this feature. Ensure that the selected base DN is a root domain.
Monitor AttributesYes NoEnter the attributes that you want to monitor. Separate attributes by commas (,).
Note: This option is available only when you select Enable Monitor Attributes.
Sequence KeyNo Yes This field contains an XPath expression that specifies the order in which the process run. Process instances with sequencing keys that have the same value are executed sequentially in the order in which the process instances were created.
Custom Job IdNo YesThis field contains an XPath expression that specifies a custom job ID for the process instance. This ID is displayed in the $_processContext process variable.

Output

In the Output tab, you can find the operations that have been made to the monitored entry.

The following table lists the output elements in the Output tab of the LDAP Entry Listener activity:

Output Item Data Type Description
OpCode Boolean Displays the change type of the monitored entry.
DN String Displays the distinguished name (DN) of the monitored entry.
NewDN String Displays the new distinguished name (DN) for the entry.
Note: This element is displayed only when the distinguished name of the monitored entry is changed.
Object Class Complex Displays the object class of the monitored entry. Expand the object class to view the attributes configured for the object class.

Fault

In the Fault tab, you can find the error code and error message of the LDAP Entry Listener activity. See Error Codes for a more detailed explanation of errors.

The following table lists error schema elements in the Fault tab of the LDAP Entry Listener activity:

Error Schema Element Data Type Description
msgCode String Displays the error code.
msg String Displays the error message.