Add support for passport-ldapauth
This commit is contained in:
parent
b30a9f2e41
commit
4d81089959
2 changed files with 68 additions and 3 deletions
|
@ -125,6 +125,22 @@ passwordresetlink=""
|
|||
bindUser=""
|
||||
bindPassword=""
|
||||
|
||||
[ldapauth]
|
||||
# Alternative LDAP implementation using the more popular passport-ldapauth library.
|
||||
enabled=false
|
||||
host="localhost"
|
||||
port=389
|
||||
# Subtree in which the searchrequest for the user is done
|
||||
baseDN="ou=users,dc=company"
|
||||
# What whe are searching for. This should return a single user.
|
||||
filter="(|(sAMAccountName={{username}})(mail={{username}}))"
|
||||
# Username field in LDAP, used to identify the user in Mailtrain (uid/cn/username/sAMAccountName)
|
||||
uidTag="sAMAccountName"
|
||||
passwordresetlink=""
|
||||
# Credentials for the initial search operation (final bind DN will be exactly as specified)
|
||||
bindUser="name@company.net"
|
||||
bindPassword="mySecretPassword"
|
||||
|
||||
[postfixbounce]
|
||||
# Enable to allow writing Postfix bounce log to Mailtrain listener
|
||||
# If enabled, tail mail.log to Mailtrain with the following command:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue