Change username field when import users from LDAP

Hi all, I’m looking some advice from people using Nextcloud and Zimbra.

I have connected nextcloud 15 with our zimbra’s openldap succesfully.

I can login to NC using either email firstname.lastname@domain or firstname.lastname only.

What I’d like to change is the username field NC is using as primary. When I go to NC user’s list all usernames are in the format “f098e0a2-f5e9-1036-9cf9-33018241503a”

also in the file system, all user’s folders are being created in that format, instead of the login “firstname.lastname” format.

On LDAP configuration, all options are as default.

DN field: uid=zimbra,cn=admins,cn=zimbra
Base DN: ou=people, dc=domain, dc=com

On users:
Object CLASS: inetOrgPerson (default option)
LDAP filter: (|(objectclass=inetOrgPerson))

I’m not using any group.

I’d really apreciate any help on this. thanks in advance.