LDAP system¶
The LDAP system contains the configuration needed to communicate with a LDAP system. It is used by LDAP sources to stream entities from LDAP catalogs. Note that Microsoft ActiveDirectory is also supported through its LDAP-compatible interface/API.
It supports the following properties:
Prototype¶
{
"host": "FQDN of LDAP host",
"port": 389,
"use_ssl": false,
"verify_ssl": true,
"username": "$ENV(username-variable)",
"password": "$SECRET(password-variable)",
"charset": "latin-1",
"custom_ca_pem_chain": "-----BEGIN CERTIFICATE-----\nMIIGYTCCB[...]\n-----END CERTIFICATE-----\n",
"connect_timeout": 60,
"read_timeout": 1800
}
Properties¶
Property |
Type |
Description |
Default |
Req |
---|---|---|---|---|
|
String |
The fully qualified domain name ( |
“localhost” |
|
|
Integer |
The TCP port of the LDAP service. |
389 |
|
|
Boolean |
Indicates to the client whether to use a secure socket layer ( |
false |
|
|
Boolean |
If |
true |
|
|
String |
If |
||
|
String |
The user to authenticate as against the LDAP service. If not set, no authentication will be attempted. |
||
|
String |
The password to use for authenticating with the LDAP service. Required if |
Yes |
|
|
String |
The charset used to encode strings in the LDAP database. Defaults to |
“latin-1” |
|
|
Integer |
Number of seconds to wait for connecting to the LDAP server before timing out. |
|
|
|
Integer |
Number of seconds to wait for the LDAP server to respond to a request before timing out. |
|
Example configuration¶
{
"_id": "example_ldap",
"name": "Example LDAP server",
"type": "system:ldap",
"host": "ldap.example.org",
"port": 389,
"username": "$ENV(username-variable)",
"password": "$SECRET(password-variable)"
}