LDAP Query
Description
This part can be used to query LDAP directories.
Use
You can add the LDAP query part into a process node and the system will execute the query.
Editor Fields
Field Name |
Description/Use |
Type/Options |
Optional/Mandatory |
Result data object |
This is the path of the data object where the system stores the query result. |
Data Object |
Mandatory |
Server |
This is the LDAP server name: e.g. ldap.forumsys.com |
String |
Mandatory |
Username |
This is the user name. |
String |
Mandatory |
Password |
This is the password. |
String |
Mandatory |
Base |
This is the LDAP base. The distinguished name of the entry at which to start the search. |
String |
Mandatory |
Filter |
Search filter as defined in RFC2254. |
Optional |
|
Attributes |
This is the list of attributes that must be returned. All available attributes are returned when no attribute is set | Collection | Optional |
Scope |
Base: Search the base entry only. One level: Search all entries in the first level below the base entry, excluding the base entry. Subtree (default): Search the base entry and all entries in the tree below the base. |
Subtree | Base | One level | Mandatory |
Attribute names only/no values |
If set, the system system returns no values are returned but returns the attribute names. |
Boolean |
Mandatory |
Time-out (sec) |
This field specifies both the local search time-out value in seconds and the operation time limit sent to the server within the search request. | Number |
Optional |
Size limit |
This is the limit on the number of entries to return from the search. A value of zero indicates no limit. | Number |
Optional |
Example Filters
Search Filter |
Description |
(objectClass=*) |
All objects |
(&(objectCategory=person)(objectClass=user)(!(cn=andy))) |
All user objects but "andy" |
(sn=sm*) |
All objects with a surname that starts with "sm" |
(&(objectCategory=person)(objectClass=contact)(|(sn=Smith)(sn=Johnson))) |
All contacts with a surname equal to "Smith" or "Johnson" |
Example
Download and import the following example project in your workspace.