ldap commit_1
This commit is contained in:
@@ -76,3 +76,28 @@ SMTP_PORT=587
|
||||
SMTP_USERNAME=
|
||||
SMTP_PASSWORD=
|
||||
SMTP_FROM="RustPad <no-reply@example.com>"
|
||||
|
||||
# Authentication mode: local, ldap, or ad
|
||||
# local: built-in registration/login
|
||||
# ldap/ad: organization directory login; local registration and guest access are disabled
|
||||
AUTHORIZATION_TYPE=local
|
||||
|
||||
# Shared LDAP / Active Directory connection settings
|
||||
# LDAP_URL=ldap://10.0.0.22:389
|
||||
# LDAP_STARTTLS=false
|
||||
# For LDAPS: LDAP_URL=ldaps://ldap.example.org:636 and LDAP_STARTTLS=false
|
||||
# For StartTLS: LDAP_URL=ldap://ldap.example.org:389 and LDAP_STARTTLS=true
|
||||
# LDAP_BIND_DN=cn=admin,dc=example,dc=org
|
||||
# LDAP_BIND_PASSWORD=admin
|
||||
# LDAP_BASE_DN=ou=people,dc=example,dc=org
|
||||
# LDAP_ORGANIZATION=example
|
||||
# LDAP_EMAIL_ATTRIBUTE=mail
|
||||
# LDAP_DISPLAY_NAME_ATTRIBUTE=displayName
|
||||
|
||||
# Optional overrides. Defaults depend on AUTHORIZATION_TYPE:
|
||||
# ldap: LDAP_USER_FILTER=(uid={username}), LDAP_USERNAME_ATTRIBUTE=uid
|
||||
# ad: LDAP_USER_FILTER=(|(sAMAccountName={username})(userPrincipalName={username}))
|
||||
# LDAP_USERNAME_ATTRIBUTE=sAMAccountName
|
||||
# LDAP_USER_FILTER=(uid={username})
|
||||
# LDAP_USERNAME_ATTRIBUTE=uid
|
||||
|
||||
|
||||
Reference in New Issue
Block a user