Hi. Trying to upgrade from a (very) old OwnCloud by creating a fresh server and migrating services across. I have OC 10.0.10 with LDAP Integration 0.13.0. We’re pulling users and groups from Windows Server 2016. LDAP is seeing all of the users and groups that the old v8 OC installation is, but is not populating the groups correctly.
Anyone got any ideas?
Cheers,
Martin.
Steps to reproduce
- Install OS 1.0.10, MariaSQL, LDAP Integration 0.13.0
- sudo -u apache php occ user:list-groups shows only one group for any user
- sudo -u apache php occ group:list-members (where wasn’t listed previously) shows all groups for that user
Expected behaviour
user:list-groups should show all groups that the user is a member of
Actual behaviour
This command only shows one group (the same one each time)
Server configuration
Centos 7
Apache
MariaSQL
PHP 5.4
OC 10.0.10, Fresh installation, installed from yum install via RPM
Everything is signed fine except for my theme
LDAP configuration (delete this part if not used)
±------------------------------±-------------------------------------------------------------------------------------------------------------------+
| Configuration | |
±------------------------------±-------------------------------------------------------------------------------------------------------------------+
| hasMemberOfFilterSupport | 0 |
| hasPagedResultSupport | |
| homeFolderNamingRule | attr:SAMAccountName |
| lastJpegPhotoLookup | 0 |
| ldapAgentName | cn=svc_account,dc=,dc=com |
| ldapAgentPassword | *** |
| ldapAttributesForGroupSearch | |
| ldapAttributesForUserSearch | |
| ldapBackupHost | Domain Controller 2 |
| ldapBackupPort | 389 |
| ldapBase | ou=Clients,dc=,dc=com |
| ldapBaseGroups | ou=Clients,dc=,dc=com |
| ldapBaseUsers | ou=Clients,dc=,dc=com |
| ldapCacheTTL | 600 |
| ldapConfigurationActive | 1 |
| ldapDynamicGroupMemberURL | |
| ldapEmailAttribute | mail |
| ldapExperiencedAdmin | 0 |
| ldapExpertUUIDGroupAttr | sAMAccountName |
| ldapExpertUUIDUserAttr | samaccountname |
| ldapExpertUsernameAttr | sAMAccountName |
| ldapGroupDisplayName | cn |
| ldapGroupFilter | (&(|(objectclass=group))) |
| ldapGroupFilterGroups | |
| ldapGroupFilterMode | 1 |
| ldapGroupFilterObjectclass | |
| ldapGroupMemberAssocAttr | member |
| ldapHost | Domain Controller 1 |
| ldapIgnoreNamingRules | |
| ldapLoginFilter | (&(objectclass=user)(|(userPrincipalName=%uid)(|(mailPrimaryAddress=%uid)(|(mail=%uid)(|(sAMAccountName=%uid)))))) |
| ldapLoginFilterAttributes | |
| ldapLoginFilterEmail | 1 |
| ldapLoginFilterMode | 1 |
| ldapLoginFilterUsername | 0 |
| ldapNestedGroups | 1 |
| ldapOverrideMainServer | |
| ldapPagingSize | 500 |
| ldapPort | 389 |
| ldapQuotaAttribute | |
| ldapQuotaDefault | |
| ldapTLS | 0 |
| ldapUserDisplayName | cn |
| ldapUserDisplayName2 | mail |
| ldapUserFilter | (&(|(objectclass=user))) |
| ldapUserFilterGroups | |
| ldapUserFilterMode | 1 |
| ldapUserFilterObjectclass | |
| ldapUserName | samaccountname |
| ldapUuidGroupAttribute | auto |
| ldapUuidUserAttribute | auto |
| turnOffCertCheck | 0 |
| useMemberOfToDetectMembership | 1 |
±------------------------------±-------------------------------------------------------------------------------------------------------------------+