Skip to content
This repository has been archived by the owner on May 8, 2019. It is now read-only.

LDAP Configuration Help #22

Open
spantula opened this issue Mar 15, 2016 · 0 comments
Open

LDAP Configuration Help #22

spantula opened this issue Mar 15, 2016 · 0 comments

Comments

@spantula
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant