Skip to content

Conversation

@blizzz
Copy link
Member

@blizzz blizzz commented Nov 10, 2022

  • it is config specific and cannot be shared
  • because the Access instance is bound later, it is not obvious from the constructor

fixes #34993

- it is config specific and cannot be shared
- because the Access instance is bound later, it is not obvious from the
  constructor

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz blizzz added this to the Nextcloud 26 milestone Nov 10, 2022
@blizzz blizzz requested review from a team, ArtificialOwl, PVince81 and come-nc and removed request for a team November 10, 2022 09:34
@blizzz
Copy link
Member Author

blizzz commented Nov 10, 2022

/backport to stable25

@blizzz
Copy link
Member Author

blizzz commented Nov 10, 2022

/backport to stable24

Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐘

@blizzz blizzz added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Nov 10, 2022
@szaimen
Copy link
Contributor

szaimen commented Nov 10, 2022

Merge or do we wanna wait for the feedback?

@blizzz
Copy link
Member Author

blizzz commented Nov 10, 2022

Merge or do we wanna wait for the feedback?

Let's see tomorrow.

@michel-nicol
Copy link

I tested this patch on the third Nextcloud server I'm administering, which I kept back at 24.0.6. I upgraded to 24.0.7 using the updater and then replaced Application.php with the proposed version, and all worked flawlessly.

@szaimen
Copy link
Contributor

szaimen commented Nov 13, 2022

Great! Thanks for veryfying :)

@szaimen szaimen merged commit 8af36bf into master Nov 13, 2022
@szaimen szaimen deleted the fix/34993/ldap-user-manager-must-not-be-shared branch November 13, 2022 22:13
@aknauss
Copy link

aknauss commented Mar 28, 2023

Hi,
It seems that bug with two ldap is here on Nextcloud 26...
How can I do to patch this version?

Thanks a lot.
Franck

@chritd
Copy link

chritd commented May 4, 2023

same problem after upgrading to 26.
is there already a fix?
many thx

@szaimen
Copy link
Contributor

szaimen commented May 4, 2023

Should be fixed with 26.0.2

@florian-obradovic
Copy link

florian-obradovic commented May 24, 2023

Fix with the current commit:

Backup

cd /var/www/nextcloud/apps

cp -rfv user_ldap ~/user_ldap-BACKUP

cd /var/www/nextcloud/apps/user_ldap/lib

sudo rm AccessFactory.php

sudo wget https://raw.githubusercontent.com/nextcloud/server/967955358c2693aafb1e43795b09cf24e460929b/apps/user_ldap/lib/AccessFactory.php

sudo rm Sync.php

sudo wget https://raw.githubusercontent.com/nextcloud/server/967955358c2693aafb1e43795b09cf24e460929b/apps/user_ldap/lib/Jobs/Sync.php

sudo wget https://raw.githubusercontent.com/nextcloud/server/967955358c2693aafb1e43795b09cf24e460929b/apps/user_ldap/tests/Jobs/SyncTest.php

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

Labels

4. to release Ready to be released and/or waiting for tests to finish bug feature: ldap regression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: User cannot authenticate with LDAP backend if multiple LDAP servers are configured

9 participants