RocketChat / RocketChat/Rocket.Chat

Rocket.Chat 1.0.3 LDAP Sync parameter problem

Open
#14,511 1 comment 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

area: authentication stale
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Hi,
I have using rocket.chat from 6 months version 0.73 with LDAP authentication. For username sync i have been using "displayName" parameter. But after upgrade to 1.0.3 this settings does not work. If i change to "sAMAccountName" it's working, but this not work for me, because with this parameter Rocket.chat create account for every computer and group. Can you help me

This is the error from log file

Exception in callback of async function: TypeError: Cannot read property 'replace' of undefined at module.exports (/opt/Rocket.Chat/programs/server/npm/node_modules/limax/lib/limax.js:18:15) at slug (app/ldap/server/sync.js:22:9) at ldapUsers.forEach.ldapUser (app/ldap/server/sync.js:303:16) at Array.forEach () at ldap.searchUsersSync.Meteor.bindEnvironment (app/ldap/server/sync.js:290:13) at runWithEnvironment (packages/meteor.js:1356:24)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.