A fresh install , even the os, debian. After installing , I have managed to setup the LDAP auth, all good, users can loging, but in channels or rooms, when I try to add a new user, I cannot find him.
Same users who I can't find to add in a room, I can't add in all other rooms.
This bug applies only to several users, not to all of them.
When I try to write their CommonName or their username , the dropdown result from the search-box shows "empty" , meaning no result
Real example:
I have 30 users with cn(commonname) starting from A to Z, only letters.
When i go to a room-> add member-> search-box - it shows me the first 10 results , with the search-box empty, for example from name A to name M dropdown list, but after a search for a user whoose name starts with a letter after M, it shows empty as a result, even though the users exists.
Steps to reproduce:
Follow all the installation steps from rocket.chat guide, nothing else
Expected behavior:
I would have expected to add all the users I want
Actual behavior:
Cannot find all LDAP users authenticated.
Server Setup Information:
Version of Rocket.Chat Server: 4.5.0
Operating System: Debian 10.4
Deployment Method: tar, npm i
Number of Running Instances: 1
DB Replicaset Oplog: -
NodeJS Version: 14.18
MongoDB Version: 5.0
Client Setup Information
Desktop App or Browser Version: both methods, same bug
Operating System: it doesn't matter the clients operating system
Relevant logs:
Lots of
{"level":50,"time":"2022-03-03T15:29:13.266Z","pid":1,"hostname":"f9c9770d540f","name":"","name":"LDAP","err":{"type":"Error","message":"User not found","stack":"Error: User not found\n at server/lib/ldap/Manager.ts:167:11\n at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40"},"msg":"User not found"}
And "User not found" error when i try a LDAP search test on a 1st try, but the 2nd or 3rd is succesfull.
Description:
A fresh install , even the os, debian. After installing , I have managed to setup the LDAP auth, all good, users can loging, but in channels or rooms, when I try to add a new user, I cannot find him. Same users who I can't find to add in a room, I can't add in all other rooms. This bug applies only to several users, not to all of them. When I try to write their CommonName or their username , the dropdown result from the search-box shows "empty" , meaning no result Real example: I have 30 users with cn(commonname) starting from A to Z, only letters. When i go to a room-> add member-> search-box - it shows me the first 10 results , with the search-box empty, for example from name A to name M dropdown list, but after a search for a user whoose name starts with a letter after M, it shows empty as a result, even though the users exists.
Steps to reproduce:
Expected behavior:
I would have expected to add all the users I want
Actual behavior:
Cannot find all LDAP users authenticated.
Server Setup Information:
Client Setup Information
Relevant logs:
Lots of {"level":50,"time":"2022-03-03T15:29:13.266Z","pid":1,"hostname":"f9c9770d540f","name":"","name":"LDAP","err":{"type":"Error","message":"User not found","stack":"Error: User not found\n at server/lib/ldap/Manager.ts:167:11\n at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40"},"msg":"User not found"}
And "User not found" error when i try a LDAP search test on a 1st try, but the 2nd or 3rd is succesfull.