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

groups.enable_medial_search does not work for LDAP groups #35066

Open
individual-it opened this issue Apr 18, 2019 · 2 comments
Open

groups.enable_medial_search does not work for LDAP groups #35066

individual-it opened this issue Apr 18, 2019 · 2 comments
Labels
Milestone

Comments

@individual-it
Copy link
Member

Steps to reproduce

  1. setup LDAP
  2. set 'groups.enable_medial_search' => true
  3. add LDAP group ldap-group1
  4. add local group local-group1
  5. in the share-field type group

Expected behaviour

both LDAP and local group should be listed

Actual behaviour

only local group is listed

Server configuration

Operating system:
Ubuntu 18.04
Web server:
Apache2
Database:
MySQL
PHP version:
7.2
ownCloud version: (see ownCloud admin page)
10.2.0.1
Updated from an older ownCloud or fresh install:
fresh
Where did you install ownCloud from:
RC1 tarball

The content of config/config.php:

{
    "system": {
        "instanceid": "oc1fqx9gxt25",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "172.17.0.1"
        ],
        "datadirectory": "\/home\/artur\/www\/owncloud-10.2.0\/rc1_a\/data",
        "overwrite.cli.url": "https:\/\/172.17.0.1\/owncloud-10.2.0\/rc1_a",
        "dbtype": "mysql",
        "version": "10.2.0.1",
        "logtimezone": "UTC",
        "apps_paths": [
            {
                "path": "\/home\/artur\/www\/owncloud-10.2.0\/rc1_a\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/home\/artur\/www\/owncloud-10.2.0\/rc1_a\/apps-external",
                "url": "\/apps-external",
                "writable": true
            }
        ],
        "memcache.local": "\\OC\\Memcache\\APCu",
        "ldapIgnoreNamingRules": false,
        "dbname": "owncloud-10-2-0-rc1-a",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "skeletondirectory": "\/home\/artur\/www\/owncloud-core\/apps\/testing\/data\/webUISkeleton",
        "groups.enable_medial_search": true
    }
}

List of activated apps:

Enabled:
  - comments: 0.3.0
  - configreport: 0.2.0
  - dav: 0.4.0
  - encryption: 1.3.1
  - federatedfilesharing: 0.4.0
  - federation: 0.1.0
  - files: 1.5.2
  - files_external: 0.7.1
  - files_sharing: 0.11.0
  - files_trashbin: 0.9.1
  - files_versions: 1.3.0
  - files_videoplayer: 0.10.1
  - firstrunwizard: 1.2.0
  - market: 0.4.0
  - notifications: 0.5.0
  - oauth2: 0.4.0
  - provisioning_api: 0.5.0
  - systemtags: 0.3.0
  - updatenotification: 0.2.1
  - user_ldap: 0.13.0
Disabled:
  - external
  - user_external

Are you using external storage, if yes which one: local/smb/sftp/...
yes
Are you using encryption: yes/no
yes
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
LDAP

LDAP configuration (delete this part if not used)


+-------------------------------+------------------------------------------------------------------------------------------------------------+
| Configuration                 | LDAPTestId                                                                                                 |
+-------------------------------+------------------------------------------------------------------------------------------------------------+
| hasMemberOfFilterSupport      |                                                                                                            |
| hasPagedResultSupport         |                                                                                                            |
| homeFolderNamingRule          |                                                                                                            |
| lastJpegPhotoLookup           | 0                                                                                                          |
| ldapAgentName                 | cn=admin,dc=owncloud,dc=com                                                                                |
| ldapAgentPassword             | ***                                                                                                        |
| ldapAttributesForGroupSearch  |                                                                                                            |
| ldapAttributesForUserSearch   |                                                                                                            |
| ldapBackupHost                |                                                                                                            |
| ldapBackupPort                |                                                                                                            |
| ldapBase                      | dc=owncloud,dc=com                                                                                         |
| ldapBaseGroups                | dc=owncloud,dc=com                                                                                         |
| ldapBaseUsers                 | dc=owncloud,dc=com                                                                                         |
| ldapCacheTTL                  | 600                                                                                                        |
| ldapConfigurationActive       | 1                                                                                                          |
| ldapDynamicGroupMemberURL     |                                                                                                            |
| ldapEmailAttribute            | mail                                                                                                       |
| ldapExperiencedAdmin          | 0                                                                                                          |
| ldapExpertUUIDGroupAttr       |                                                                                                            |
| ldapExpertUUIDUserAttr        | uid                                                                                                        |
| ldapExpertUsernameAttr        |                                                                                                            |
| ldapGroupDisplayName          | cn                                                                                                         |
| ldapGroupFilter               | (&(|(objectclass=posixGroup)))                                                                             |
| ldapGroupFilterGroups         |                                                                                                            |
| ldapGroupFilterMode           | 0                                                                                                          |
| ldapGroupFilterObjectclass    | posixGroup                                                                                                 |
| ldapGroupMemberAssocAttr      | memberUid                                                                                                  |
| ldapHost                      | localhost                                                                                                  |
| ldapIgnoreNamingRules         |                                                                                                            |
| ldapLoginFilter               | (&(|(objectclass=inetOrgPerson))(|(uid=%uid)(|(mailPrimaryAddress=%uid)(mail=%uid))(|(displayName=%uid)))) |
| ldapLoginFilterAttributes     | displayName                                                                                                |
| ldapLoginFilterEmail          | 1                                                                                                          |
| ldapLoginFilterMode           | 0                                                                                                          |
| ldapLoginFilterUsername       | 1                                                                                                          |
| ldapNestedGroups              | 0                                                                                                          |
| ldapOverrideMainServer        |                                                                                                            |
| ldapPagingSize                | 500                                                                                                        |
| ldapPort                      | 389                                                                                                        |
| ldapQuotaAttribute            |                                                                                                            |
| ldapQuotaDefault              |                                                                                                            |
| ldapTLS                       | 0                                                                                                          |
| ldapUserDisplayName           | displayName                                                                                                |
| ldapUserDisplayName2          |                                                                                                            |
| ldapUserFilter                | (|(objectclass=inetOrgPerson))                                                                             |
| ldapUserFilterGroups          |                                                                                                            |
| ldapUserFilterMode            | 0                                                                                                          |
| ldapUserFilterObjectclass     | inetOrgPerson                                                                                              |
| ldapUserName                  | samaccountname                                                                                             |
| ldapUuidGroupAttribute        | auto                                                                                                       |
| ldapUuidUserAttribute         | auto                                                                                                       |
| turnOffCertCheck              | 0                                                                                                          |
| useMemberOfToDetectMembership | 1                                                                                                          |
+-------------------------------+------------------------------------------------------------------------------------------------------------+

Client configuration

Browser:
FF
Operating system:
Ubuntu 18.04

@karakayasemi
Copy link
Contributor

@individual-it until the central group table merged, this is the expected behavior. See the last paragraph of #33883 (comment)

@PVince81
Copy link
Contributor

ok, moving to backlog then. thanks for clarification.

could report as known issue @pmaier1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants