Skip to content
LogScale Self-Hosted
This is an archived version of the documentation downloaded from LogScale Documentation Archives. Up to date documentation, and documentation for later versions, is available on LogScale Documentation

## `LDAP_AUTH_PROVIDER_URL`

Option | `LDAP_AUTH_PROVIDER_URL`
Description | The URL to connect to for LDAP authentication. From version 1.238, only `ldaps` connections are supported.

This is the URL to connect to. It can start with either `ldap://` or `ldaps://`, which selects unencrypted or TLS/SSL transport respectively. LogScale recommends using a secure connection to ensure that authentication credentials are not transmitted in the clear.

ini

    AUTHENTICATION_METHOD=ldap
    LDAP_AUTH_PROVIDER_URL=your-url     # example: ldap://ldap.forumsys.com:389
    LDAP_AUTH_PRINCIPAL=your-principal  # optional, example: cn=LOGSCALEUSERNAME,dc=example,dc=com
    LDAP_DOMAIN_NAME=your-domain.com   # optional, example: example.com
    AUTO_CREATE_USER_ON_SUCCESSFUL_LOGIN=true   # default is false

#### Enter search term