Zimbra Extension Login Problem

Hi
Im using NC 17.0.3
PHP Version: 7.2.24
Remote Database : PostgreSQL 12.2
Remote Data Directory : NFS
Nginx

Im using zimbra drive extension and LDAP connections. When I log in to nextcloud with username, it logs in but when I login to nextcloud via email, it opens a different account. I tried to disable zimbra drive extension. Username and email log in same account but when i enable zimbra drive extension it log in different account and creating new account on the user list. What can i do?