You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 8, 2019. It is now read-only.
Can someone please give me an example of configuring the ldap settings.
do we need to change all that is bold to that of my ldap server details.
auth:
providers: [ldap]
ldap:
connect_settings:
url:** ldap://ldap_server**
bind_options:
bindDN: "cn=admin,dc=testcompany,dc=local"
bindCredentials: password # what is this password - of which user or system
search:
base: "dc=company,dc=com"
opts:
scope: sub # Base search (base), one level search (one) or subtree search (sub)
filter: "(&(uid={{username}})(memberof=cn=chat_access,ou=groups,dc=company,dc=com)"
field_mappings:
uid: uid # LDAP unique ID
username: uid # used for mention (@uid) I do not get this what goes in here.
firstName: givenName
lastName: sn
displayName: givenName
email: mail
local:
enableRegistration: false
passwordRegex: ^.{8,64}$
salt: secretSalt # Required when upgrading from version < 0.3
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Can someone please give me an example of configuring the ldap settings.
do we need to change all that is bold to that of my ldap server details.
auth:
providers: [ldap]
ldap:
connect_settings:
url:** ldap://ldap_server**
bind_options:
bindDN: "cn=admin,dc=testcompany,dc=local"
bindCredentials: password # what is this password - of which user or system
search:
base: "dc=company,dc=com"
opts:
scope: sub # Base search (base), one level search (one) or subtree search (sub)
filter: "(&(uid={{username}})(memberof=cn=chat_access,ou=groups,dc=company,dc=com)"
field_mappings:
uid: uid # LDAP unique ID
username: uid # used for mention (@uid) I do not get this what goes in here.
firstName: givenName
lastName: sn
displayName: givenName
email: mail
local:
enableRegistration: false
passwordRegex: ^.{8,64}$
salt: secretSalt # Required when upgrading from version < 0.3
The text was updated successfully, but these errors were encountered: