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 users belonging to group sometimes not showing OC 8.2.2 #22175

Closed
Trefex opened this issue Feb 5, 2016 · 6 comments
Closed

LDAP users belonging to group sometimes not showing OC 8.2.2 #22175

Trefex opened this issue Feb 5, 2016 · 6 comments

Comments

@Trefex
Copy link

Trefex commented Feb 5, 2016

Dear all,

I setup LDAP to sync users and also groups, and this works mostly fine, eg people in group A in LDAP are put in the ownCloud group A.

However, when in the admin view, either as admin or as user with group admin rights, when I click on a group on the left menu, the list appears empty. In "Everyone", however, I can see all the users correctly.

Furthermore, in Chrome, when clicking on Everyone, the list is empty, but upon "Refreshing" the page, the list of users appear.

Could you please help me figure what's wrong here or if there's a bug somewhere?

For reference, this is the line I see in owncloud.log when clicking on "Everyone" or "mygroup" when the page shows up white

{"reqId":"VrUTE4sP7F@RWz5hIqKJNgAAAAM","remoteAddr":"10.244.9.18","app":"PHP","message":"array_slice() expects parameter 1 to be array, object given at \/var\/www\/html\/owncloud\/apps\/user_ldap\/group_ldap.php#530","level":0,"time":"2016-02-05T21:24:35+00:00","method":"GET","url":"\/index.php\/settings\/users\/users?offset=0&limit=30&gid=_everyone&pattern="}

Thank you,

[root@lcsb-oc1-server owncloud]# sudo -u apache php occ ldap:show-config ''
+-------------------------------+-----------------------------------------------------------------------------------------------------+
| Configuration                 |                                                                                                     |
+-------------------------------+-----------------------------------------------------------------------------------------------------+
| hasMemberOfFilterSupport      | 1                                                                                                   |
| hasPagedResultSupport         |                                                                                                     |
| homeFolderNamingRule          |                                                                                                     |
| lastJpegPhotoLookup           | 0                                                                                                   |
| ldapAgentName                 | uid=ldapconnector,cn=users,cn=accounts,dc=uni,dc=lu                                                 |
| ldapAgentPassword             | ***                                                                                                 |
| ldapAttributesForGroupSearch  |                                                                                                     |
| ldapAttributesForUserSearch   |                                                                                                     |
| ldapBackupHost                |                                                                                          |
| ldapBackupPort                |                                                                                                  |
| ldapBase                      | dc=uni,dc=lu                                                                                        |
| ldapBaseGroups                | cn=groups,cn=accounts,dc=uni,dc=lu                                                                  |
| ldapBaseUsers                 | cn=users,cn=accounts,dc=uni,dc=lu                                                                   |
| ldapCacheTTL                  | 600                                                                                                 |
| ldapConfigurationActive       | 1                                                                                                   |
| ldapEmailAttribute            | mail                                                                                                |
| ldapExperiencedAdmin          | 0                                                                                                   |
| ldapExpertUUIDGroupAttr       |                                                                                                     |
| ldapExpertUUIDUserAttr        |                                                                                                     |
| ldapExpertUsernameAttr        |                                                                                                     |
| ldapGroupDisplayName          | cn                                                                                                  |
| ldapGroupFilter               | (&(objectclass=groupofnames)(memberOf=cn=owncloud,cn=groups,cn=accounts,dc=uni,dc=lu))              |
| ldapGroupFilterGroups         |                                                                                                     |
| ldapGroupFilterMode           | 1                                                                                                   |
| ldapGroupFilterObjectclass    |                                                                                                     |
| ldapGroupMemberAssocAttr      | member                                                                                              |
| ldapHost                      | myldaphpst.uni.lu                                                                              |
| ldapIgnoreNamingRules         |                                                                                                     |
| ldapLoginFilter               | (&(&(objectClass=posixaccount)(memberof=cn=owncloud,cn=groups,cn=accounts,dc=uni,dc=lu))(uid=%uid)) |
| ldapLoginFilterAttributes     |                                                                                                     |
| ldapLoginFilterEmail          | 0                                                                                                   |
| ldapLoginFilterMode           | 0                                                                                                   |
| ldapLoginFilterUsername       | 1                                                                                                   |
| ldapNestedGroups              | 0                                                                                                   |
| ldapOverrideMainServer        |                                                                                                     |
| ldapPagingSize                | 500                                                                                                 |
| ldapPort                      | 389                                                                                                 |
| ldapQuotaAttribute            |                                                                                                     |
| ldapQuotaDefault              | 200000000000                                                                                        |
| ldapTLS                       | 0                                                                                                   |
| ldapUserDisplayName           | displayname                                                                                         |
| ldapUserFilter                | (&(objectClass=posixaccount)(memberof=cn=owncloud,cn=groups,cn=accounts,dc=uni,dc=lu))              |
| ldapUserFilterGroups          |                                                                                                     |
| ldapUserFilterMode            | 1                                                                                                   |
| ldapUserFilterObjectclass     | person                                                                                              |
| ldapUuidGroupAttribute        | auto                                                                                                |
| ldapUuidUserAttribute         | auto                                                                                                |
| turnOffCertCheck              | 0                                                                                                   |
| useMemberOfToDetectMembership | 1                                                                                                   |
+-------------------------------+-----------------------------------------------------------------------------------------------------+

ownCloud: LCSB Cloud version 8.2.2
LDAP App version: LDAP user and group backend 0.7.1

Trefex

@Trefex Trefex changed the title LDAP users belonging to group sometimes not showing LDAP users belonging to group sometimes not showing OC 8.2.2 Feb 5, 2016
@RobinMcCorkell
Copy link
Member

@owncloud/ldap

@PVince81 PVince81 added this to the 9.0-current milestone Feb 8, 2016
@blizzz
Copy link
Contributor

blizzz commented Feb 8, 2016

Possibly duplicate of #21896 fixed with #21999. Can you confirm, @Trefex?

@PVince81
Copy link
Contributor

@Trefex any update ? Do you still see the issue with 9.0beta2 which contains the fix ?

@Trefex
Copy link
Author

Trefex commented Feb 23, 2016

@PVince81 for that I would have to setup a test environment and test it.

But it seems related yes.

@blizzz
Copy link
Contributor

blizzz commented Feb 23, 2016

@Trefex I'll close it then as fixed. If you still see the issue once 8.2.3 is out, please reopen this report.

@lock
Copy link

lock bot commented Aug 6, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants