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

LDAP Configuration Help #22

@spantula

Description

@spantula

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions