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

Not all users are populated in the user list when 'everyone' is selected. #28112

Closed
JeanLuc-Picard opened this issue Jun 9, 2017 · 6 comments

Comments

@JeanLuc-Picard
Copy link

JeanLuc-Picard commented Jun 9, 2017

Steps to reproduce

  1. Log in as administrator.
  2. Left-click name at top right corner of screen.
  3. Select 'Users' from the drop-down menu.
  4. Left-click 'Everyone' located in the list on the far left of the UI.

Expected behaviour

All users, including LDAP users, should be populated in the list located in the center of the UI.

Actual behaviour

An abbreviated list of users appears, and additional users must be added piecemeal by continuously scrolling lower in the list until the list is complete.

Server configuration

Operating system: Linux owncloud-dev 4.4.0-79-generic #100-Ubuntu SMP Wed May 17 19:58:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Web server: Apache

Database: MySql

PHP version: 7.0

ownCloud version: ownCloud 9.1.6 (stable)

Updated from an older ownCloud or fresh install: No.

Where did you install ownCloud from: OwnCloud Repo at download.owncloud.org/download/repositories/stable/ubuntu_16.04/

Signing status (ownCloud 9.0 and above):

The results were quite short.  From Google Chrome I got this error once I opened a new tab and visited the link (I was logged in to OwnCloud in another tab):
This site can’t be reached

The webpage at http://example.com/index.php/settings/integrity/failed might be temporarily down or it may have moved permanently to a new web address.
ERR_INVALID_RESPONSE

The content of config/config.php:

{
    "system": {
        "updatechecker": false,
        "instanceid": "*************",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "owncloud-dev.************.com"
        ],
        "datadirectory": "\/var\/www\/owncloud\/data",
        "overwrite.cli.url": "https:\/\/owncloud-dev.****************.com\/owncloud",
        "dbtype": "mysql",
        "version": "9.1.6.2",
        "dbname": "***********",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "ldapIgnoreNamingRules": false,
        "loglevel": 0,
        "maintenance": false,
        "enable_previews": true,
        "preview_libreoffice_path": "\/usr\/bin\/libreoffice",
        "enabledPreviewProviders": [
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\MSOffice2003",
            "OC\\Preview\\MSOffice2007",
            "OC\\Preview\\MSOfficeDoc",
            "OC\\Preview\\OpenDocument",
            "OC\\Preview\\PDF"
        ]
    }
}

List of activated apps:

Enabled:
  - activity: 2.3.2
  - comments: 0.3.0
  - configreport: 0.1.1
  - dav: 0.2.7
  - documents: 0.13.1
  - federatedfilesharing: 0.3.0
  - files: 1.5.1
  - files_pdfviewer: 0.8.1
  - files_texteditor: 2.1
  - files_trashbin: 0.9.0
  - files_versions: 1.3.0
  - files_videoplayer: 0.9.8
  - gallery: 15.0.0
  - ownnote: 1.08
  - provisioning_api: 0.5.0
  - search_lucene: true
  - systemtags: 0.3.0
  - updatenotification: 0.2.1
  - user_ldap: 0.9.0

Are you using external storage, if yes which one: No

Are you using encryption: No

Are you using an external user-backend, if yes which one: Yes, LDAP

LDAP configuration (delete this part if not used)

mysql> SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';
+-----------+-----------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
| appid     | configkey                         | configvalue                                                                                                                                             |
+-----------+-----------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
| user_ldap | cleanUpJobOffset                  | 200                                                                                                                                                     |
| user_ldap | enabled                           | yes                                                                                                                                                     |
| user_ldap | has_memberof_filter_support       | 1                                                                                                                                                       |
| user_ldap | home_folder_naming_rule           |                                                                                                                                                         |
| user_ldap | installed_version                 | 0.9.0                                                                                                                                                   |
| user_ldap | last_jpegPhoto_lookup             | 0                                                                                                                                                       |
| user_ldap | ldap_agent_password               | *********************                                                                                                                                   |
| user_ldap | ldap_attributes_for_group_search  |                                                                                                                                                         |
| user_ldap | ldap_attributes_for_user_search   |                                                                                                                                                         |
| user_ldap | ldap_backup_host                  |                                                                                                                                                         |
| user_ldap | ldap_backup_port                  |                                                                                                                                                         |
| user_ldap | ldap_base                         | dc=**********,dc=com                                                                                                                                    |
| user_ldap | ldap_base_groups                  | dc=**********,dc=com                                                                                                                                    |
| user_ldap | ldap_base_users                   | dc=**********,dc=com                                                                                                                                    |
| user_ldap | ldap_cache_ttl                    | 600                                                                                                                                                     |
| user_ldap | ldap_configuration_active         | 1                                                                                                                                                       |
| user_ldap | ldap_display_name                 | displayName                                                                                                                                             |
| user_ldap | ldap_dn                           | cn=************,cn=*****,dc=**********,dc=com                                                                                                           |
| user_ldap | ldap_dynamic_group_member_url     |                                                                                                                                                         |
| user_ldap | ldap_email_attr                   | mail                                                                                                                                                    |
| user_ldap | ldap_experienced_admin            | 0                                                                                                                                                       |
| user_ldap | ldap_expert_username_attr         |                                                                                                                                                         |
| user_ldap | ldap_expert_uuid_group_attr       |                                                                                                                                                         |
| user_ldap | ldap_expert_uuid_user_attr        |                                                                                                                                                         |
| user_ldap | ldap_group_display_name           | cn                                                                                                                                                      |
| user_ldap | ldap_group_filter                 |                                                                                                                                                         |
| user_ldap | ldap_group_filter_mode            | 0                                                                                                                                                       |
| user_ldap | ldap_group_member_assoc_attribute | uniqueMember                                                                                                                                            |
| user_ldap | ldap_groupfilter_groups           |                                                                                                                                                         |
| user_ldap | ldap_groupfilter_objectclass      |                                                                                                                                                         |
| user_ldap | ldap_host                         | *****.********.com                                                                                                                                      |
| user_ldap | ldap_login_filter                 | (&(&(|(objectclass=person))(|(|(memberof=CN=************,CN=***************,CN=********,DC=*******,DC=com)(primaryGroupID=***))))(samaccountname=%uid)) |
| user_ldap | ldap_login_filter_mode            | 0                                                                                                                                                       |
| user_ldap | ldap_loginfilter_attributes       |                                                                                                                                                         |
| user_ldap | ldap_loginfilter_email            | 0                                                                                                                                                       |
| user_ldap | ldap_loginfilter_username         | 1                                                                                                                                                       |
| user_ldap | ldap_nested_groups                | 0                                                                                                                                                       |
| user_ldap | ldap_override_main_server         |                                                                                                                                                         |
| user_ldap | ldap_paging_size                  | 500                                                                                                                                                     |
| user_ldap | ldap_port                         | 389                                                                                                                                                     |
| user_ldap | ldap_quota_attr                   |                                                                                                                                                         |
| user_ldap | ldap_quota_def                    |                                                                                                                                                         |
| user_ldap | ldap_tls                          | 0                                                                                                                                                       |
| user_ldap | ldap_turn_off_cert_check          | 0                                                                                                                                                       |
| user_ldap | ldap_user_display_name_2          |                                                                                                                                                         |
| user_ldap | ldap_user_filter_mode             | 0                                                                                                                                                       |
| user_ldap | ldap_userfilter_groups            | ************                                                                                                                                            |
| user_ldap | ldap_userfilter_objectclass       | person                                                                                                                                                  |
| user_ldap | ldap_userlist_filter              | (&(|(objectclass=person))(|(|(memberof=CN=***********,CN=*********,CN=*********,DC=*************,DC=com)(primaryGroupID=***))))                         |
| user_ldap | types                             | authentication                                                                                                                                          |
| user_ldap | use_memberof_to_detect_membership | 1                                                                                                                                                       |
+-----------+-----------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
51 rows in set (0.00 sec)

Client configuration

Browser: Chrome 58

Operating system: Windows 10

Logs

Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

Insert your ownCloud log here

Browser log

There does not appear to be a browser error.
@JeanLuc-Picard
Copy link
Author

It may be important to point out that we use LDAP integration with our AD and have a large user base.

@JeanLuc-Picard
Copy link
Author

I hope I have provided enough information! Please let me know if I'm lacking anything important.

@PVince81
Copy link
Contributor

Displaying all users at once wouldn't be possible especially for large setups as it would require loading all users which would slow down the UI.

Rewriting the UI to maybe use something like virtual scrolling to make it look like it had all users would be an alternative.

@ownclouders
Copy link
Contributor

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.

@PVince81
Copy link
Contributor

In general, the users page of OC is not designed to manage LDAP users but local DB users. For managing LDAP users, use your favorite LDAP management tool instead.

@lock
Copy link

lock bot commented Aug 1, 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 1, 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

3 participants