Duplicated LDAP users

Hi.

We’re getting a strange issue regarding nexcloud with LDAP. Almost all users are duplicated in the oc_users table:| 208707 | {“displayname”:{“value”:“Fernando Lobo Pereira”,“scope”:“contacts”},“address”:{“value”:“”,“scope”:“private”},“website”:{“value”:“”,“scope”:“private”},“email”:{“value”:“flp@fe.up.pt”,“scope”:“contacts”},“avatar”:{“scope”:“contacts”},“phone”:{“value”:“”,“scope”:“private”},“twitter”:{“value”:“”,“scope”:“private”}} |

| 208707_2597 | {“displayname”:{“value”:“Fernando Lobo Pereira”,“scope”:“contacts”},“address”:{“value”:“”,“scope”:“private”},“website”:{“value”:“”,“scope”:“private”},“email”:{“value”:“flp@fe.up.pt”,“scope”:“contacts”},“avatar”:{“scope”:“contacts”},“phone”:{“value”:“”,“scope”:“private”},“twitter”:{“value”:“”,“scope”:“private”}} |

This kind of behaviour consequences like when searching for users, or when the user logs in, the files that where available aren’t available anymore:

Our installation is a upgrade from owncloud.

Hi, I have the same problem. Our installation is a Nextcloud 11 upgraded to 12 on nethserver.

I’ve solved the problem by removing all the entrances directly on database
for all users that had a internal generated owncloud/nextcloud directory
UID.
In that way, nextcloud was able to create all the users using the default
behavior (directory UID = username).

A 12h04 dom, 4 de Jun de 2017, Matthieu noreply@nextcloud.com escreveu: