Setting up LDAP authentication#
This documentation applies to Piler enterprise edition 2.1.0
Revision #1
Publication date: 2026-MAR-07
Set the following in /var/piler/.env file. Be sure to customize the settings to match your environment.
ENABLE_LDAP_AUTH=true
LDAP_USE_TLS=true
LDAP_HOST=ldap.example.com:636
LDAP_BASE_DN=CN=Users,DC=aaa,DC=fu
LDAP_BIND_DN=CN=Piler,CN=Users,DC=aaa,DC=fu
LDAP_BIND_PASSWORD=Piler123
LDAP_ACCOUNT_OBJECTCLASS=user
LDAP_ACCOUNT_MAIL_ATTR=mail
LDAP_ACCOUNT_USERID_ATTR=sAMAccountName
LDAP_ACCOUNT_USERNAME_ATTR=name
LDAP_DISTRIBUTIONLIST_OBJECTCLASS=group
LDAP_DISTRIBUTIONLIST_MAIL_ATTR=member
For multitenant deployments, you may enable LDAP authentication per tenant. To do that set the above settings in the tenant's JSON settings field.
