-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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/AD - user in multiple groups not working #2950
Comments
Is here any fix at startup? We have the same problem with the same setup. |
I have the same problem in owncloud 9.0 and 9.1 but was able to apply a workaround by removing all User-Filters, reloading the users and then adding the User-Filter again... |
I found this workaround that fixed the problem for me: in: "Group_LDAP.php" (in: l/nextcloud/apps/user_ldap/lib) Someone suggested to add ", 500" in the following line.
That worked for me. Kind regards Roru69 |
This adds a limit to the fetch. @nextcloud/ldap Does anybody of you know why adding a limit there properly fetches all groups? I have seen this issue also and wonder why this could solve the overall problem. |
We have stumbled across the exact same problem. Adding the limit to the getGroupsByMember() function as mentioned by @roru69 solves the problem. However, we would prefer not to rely on an unexplicable quick hack in production. |
I also have the same problem for one of our ownCloud environment. Weird thing is, we have multiple ownCloud servers and this only happens to one of them. While they are al running the same version. |
@dnauck yes. Not sure it makes it into 12.0.3 (because this is due) or only 4. We'll see. |
Thanks you roru69 your trick help us to get the ldap group share available 2 times. Once for 12.0.2 after a upgrade from 11.x and last time for 12.0.3. |
Does someone know if that is fixed in 12.0.4? |
@blizzz thanks. |
I have the same problem, but i'm already running a stable version of owncloud 12.04, where it should have been fixed. |
open a new bug report, thx. Except, users cannot be added to LDAP groups, we do not write to LDAP. |
@roru69 answer worked for me too. Using NC 13.0.2 |
Steps to reproduce
Expected behaviour
Each user should be in each group it belongs to, e.g. group1 and group2
Actual behaviour
A user is just in a single group, group1 or group2
Server configuration
Operating system:
Ubuntu 16.04.1
Web server:
Apache
Database:
MariaDB
PHP version:
Ubuntu PHP7
Nextcloud version: (see Nextcloud admin page)
11
Updated from an older Nextcloud/ownCloud or fresh install:
Fresh install
Where did you install Nextcloud from:
official website via tar.bz
Signing status:
Signing status
No errors have been found.List of activated apps:
App list
default apps + LDAP user app activated
The content of config/config.php:
Config report
default + redisAre you using external storage, if yes which one: local/smb/sftp/...
currently not
Are you using encryption: no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
Active Directory Win2012R2
Client configuration
Browser:
Chrome
Operating system:
OSX
Logs
no errors
Error was also reported some years ago in owncloud: owncloud/core#13426
But the suggested workaround is not working.
The text was updated successfully, but these errors were encountered: