Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDAP Group Sync issue #15673

Open
spanchy opened this issue Oct 25, 2019 · 13 comments
Open

LDAP Group Sync issue #15673

spanchy opened this issue Oct 25, 2019 · 13 comments

Comments

@spanchy
Copy link

spanchy commented Oct 25, 2019

Description:

When LDAP groups are synchronized and "automatic removal of users from channels" set to "true", existing users in channels are deleted and added again + new employees. And so constantly, in a circle, every synchronization. User roles are working correctly!

Steps to reproduce:

  1. go to settings LDAP > Sync and enable ldap group sync
  2. Click set automatic removal of users from channels are synchronized to True
  3. and see any channel for logs: User left channel and User joined to channel.

Server Setup Information:

  • Version of Rocket.Chat Server: 2.1.1
  • Operating System: Debian Stretch 9.11
  • Deployment Method: tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog: -
  • NodeJS Version: 8.11.4
  • MongoDB Version: 3.6.14

Client Setup Information

  • Desktop App or Browser Version: 2.15.5
  • Operating System: Windows 10 x64

Additional context

duplicate_add_channel
scr_sec
scr_one

@nklock
Copy link

nklock commented Mar 21, 2020

I am also running into this issue. Every time the cron job kicks off to sync the user accounts, every room is flooded with dozens of users entering and leaving the channel. Can these notifications be disabled when the process is run in the background?

Or as a work around disable joining and leaving notifications altogether?

@Turbocube644
Copy link

Turbocube644 commented Mar 21, 2020

Hi,
I get the same Issue (Version 3.0.4).
Is there any new information?

@spanchy
Copy link
Author

spanchy commented Mar 21, 2020

I am also running into this issue. Every time the cron job kicks off to sync the user accounts, every room is flooded with dozens of users entering and leaving the channel. Can these notifications be disabled when the process is run in the background?

Or as a work around disable joining and leaving notifications altogether?

Yes, you can disable this message in settings. Message -> Hide System message, and select what you want to hide.

@spanchy
Copy link
Author

spanchy commented Mar 21, 2020

Hi,
I get the same Issue (Version 3.0.4).
Is there any new information?

I wrote to support by email, and they replied that they would pass the information to the developers, but they haven't fixed it yet.

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stat: stale Stale issues will be automatically closed if no activity label Jul 21, 2020
@Examinato
Copy link

This issue still exists. It does persist only when a LDAP Group is synced to multiple channels. I have hidden the system messages, but the channel gets an unread count every sync because of these messages.

@spanchy
Copy link
Author

spanchy commented Sep 30, 2020

This issue still exists. It does persist only when a LDAP Group is synced to multiple channels. I have hidden the system messages, but the channel gets an unread count every sync because of these messages.

yes, i have same problem.

@Examinato
Copy link

I also noticed that the notifications aren't working as it should with such a mixed channel:

On iOS mobile app

  • when clicking notification, the right discussion isn't opened (this does work with normal groups/channels)
  • the channel isn't on top, last activity is correct but it isn't sorted right

People were missing the messages in this mixed LDAP group channel, so I decided to only map one-on-one and create a manual channel with the people which I need to have together from multiple LDAP channels.

@github-actions github-actions bot removed the stat: stale Stale issues will be automatically closed if no activity label Oct 9, 2020
@EnCz
Copy link

EnCz commented Jan 8, 2021

We have the same problem, please take a look @MartinSchoeler

@liszca
Copy link

liszca commented Jan 30, 2021

I can reproduce the message by hitting the Sync Button in the LDAP Configuration (GO: LDAP > Sync / Import > "Execute Synchronization Now"):
grafik

The list adds up every 10 Minutes as I do a Sync every 10 Minutes!

@jonathanspw
Copy link

This is still an issue.

@liszca
Copy link

liszca commented Feb 3, 2021

I guess it comes because two or more LDAP groups with one or more users each are synced into one channel.

@MisterErwin
Copy link

Still an issue in 3.18.0-develop and 3.17.0

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

Successfully merging a pull request may close this issue.

9 participants