The URI
for connecting to the LDAP-Server. This usualy takes the form
<scheme>://<user>:<password>@<server>/<path>
according to RFC 1738.
In this case it schould be something like
ldap://uid=adminuser,dc=example,c=com:secret@ldap.example.com/dc=basePath,dc=example,c=com .
If your LDAP accepts anonymous login, you can ommit the user and
password-Part of the URI
You can use the pseudo-schema env to provide your LDAP-URI from an environment-variable. So if you have your
LDAP-URI in a variable called LDAP_URI
you can enter env:LDAP_URI
in this field and at runtime the
appropriate value will be taken from the Environment-variable LDAP_URI
. If the varialbe is not set, then the value will be empty.
You can also provide different parts of the LDP-URI from environment variables by providing
%env:[VARIABLENAME]%
within your LDAP-URI. So if you want to provide the
password from an Environment-variable LDAP_PASSWORD
your LDAP-URI looks like
ldap://uid=adminuser,dc=example,c=com:%env:LDAP_PASSWORD%@ldap.example.com/dc=basePath,dc=example,c=com
Caveat!
If you are using Environment-variables for parts of the LDAP-URL then those must not be URL-Encoded!
Otherwise the different parts must be URL-Encoded!