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”:“10.136.1.4”,“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”:“22.2.10.2”}

Please advise.

Shouldn’t your User DN also have dc?

1 Like

I updated my DN as uid=zimbra,cn=admins,cn=zimbra,dc=domain,dc=com

But still I am getting the same error while test Base DN;

“The base DN appears to be wrong. No object found in the given Base DN.”

Out of curiosity, does occ ldap:test-config succeed?

Sounds a little like this:

Hi,

I have tested it with openLDAP and it was successful. No configuration error.

I think zimbra’s user DN is the issue which I could not solve yet.