Nextcloud LDAP integration with Zimbra

I am using nextcloud 22.2.0 version. I am trying to integrate LDAP with zimbra. But I am still stuck at base DN thing. It’s not detecting automatically, so I manually input base DN: dc=domain,dc=com

I input my DN as: uid=zimbra,cn=admins,cn=zimbra

I am getting this error:

The base DN appears to be wrong. No object found in the given Base DN. Please revise.

From log:

{“reqId”:“wbJGva5ZyMSz6O0Nz2iB”,“level”:2,“time”:“2023-05-25T13:54:21+00:00”,“remoteAddr”:“”,“user”:“admin”,“app”:“user_ldap”,“method”:“POST”,“url”:“/index.php/apps/user_ldap/ajax/wizard.php”,“message”:“Configuration Error (prefix s01): login filter does not contain %uid place holder.”,“userAgent”:“Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0”,“version”:“”}

Please advise.

Shouldn’t your User DN also have dc?