-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Dynamic LDAP groups no longer working #5168
Comments
I'm currently trying to figure out what is happening... I have added debug logging into Group_LDAP.php and it turns out that in |
In both functions |
It seems that the problem occurs when it tries to read the data for each user for a given group. In the log file I find: but I never specified that gidNumber was a query attribute, so I don't know why this is suddenly showing up in the filter. |
OK it seems the regression is caused by the following processing: Now I see the dynamic group memberships for each user and on each dynamic group I see the members. Not sure why this posixGroup processing was introduced but since it is breaking, it would be nice if we had an option to disable it. Many thanks in advance |
I might have been caught by the cache ... it looks like replacing that line does not fix the problem. I have now changed and `
*/ now the list is correctly displayed. Let's see what happens when the cache is refreshed. |
No answer? No acknowledge? No comment? Thank you very much. Alex |
cc @nextcloud/ldap |
Never mind, we've abandoned nextcloud. |
I am sorry, I have not seen the issue previously 🙇 |
Hello, |
@sorincocorada not knowingly. did you try? |
Yes, after several attempts I discovered a bug in my config (the nextcloud used had no read permission to the groups tree). Now it works :) |
This is a regression bug in regards to 11.0.3 where this has been working.
Technolink has contributed the code (to owncloud at that time) to support the dynamic LDAP groups processing, i.e. to list the groups a user is member of and to list the members of a dynamic group.
Steps to reproduce
Expected behaviour
For a given user, the list of groups the user belongs to should be displayed
For a given LDAP group, the list of users that match the filter should be displayed
Actual behaviour
For a given user, no groups are being displayed
For a given group, no users are being displayed
Server configuration
Operating system:
Red Hat Enterprise Linux Server 7.3 (Maipo)
Web server:
Database:
5.5.52-MariaDB
PHP version:
PHP 5.6.30 (cli) (built: Jan 19 2017 22:31:39)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
Nextcloud version: (see Nextcloud admin page)
12.0.0
Updated from an older Nextcloud/ownCloud or fresh install:
updated from nextcloud 11.0.3
Where did you install Nextcloud from:
downloaded from nextcloud server
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: yes/no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
LDAP configuration (delete this part if not used)
LDAP config
Client configuration
Browser:
Safari
Operating system:
macOS 10.12.5
Logs
Nextcloud log (data/nextcloud.log)
Nextcloud log
The text was updated successfully, but these errors were encountered: