Zimbra & Owncloud with LDAP

All about Zimbra Drive
Posts: 1
Joined: Thu Dec 14, 2017 9:07 pm

Zimbra & Owncloud with LDAP

Postby ednt » Sun Jan 14, 2018 11:06 am

We auth Zimbra against AD which work fine.
We also auth Owncloud against the same AD which work also fine.

The Connection from Zimbra to owncloud works also, but if i login in zimbra and change to Drive.
Zimbra create a new user on Owncloud with a UID as Name.
This Account i cant login direct by owncloud.

By Creating a new Account by login in owncloud and auth against AD the user will be created correct and slo the username is correct.
This i have setup by showing the correct CN in Owncloud (Email as username)

So how i connect correct zimbra 2 owncloud and using the same users ??

Posts: 5
Joined: Fri Sep 02, 2016 6:03 am

Re: Zimbra & Owncloud with LDAP

Postby leoyip » Mon Mar 12, 2018 3:08 pm

Posts: 1
Joined: Mon Apr 16, 2018 10:52 am

Re: Zimbra & Owncloud with LDAP

Postby admfd » Tue Apr 17, 2018 12:45 pm

I have a similar problem.
I can authenticate to Zimbra and to Nextcloud with LDAP, but when I connect a external SMB share to Nextcloud, Zimbra drive authentificates to Nextcloud with a internal user, not the LDAP user.
The problem is that Zimbra drive does not see the SMB securitu permissions of the SMB server.
I tried the link that leoyip posted (https://github.com/ZeXtras/zimbra-drive/issues/21) but I get a error while "make all".
If I do not make any changes to the git package, than it makes ok. With the suggested changes I get a error:
[javac] /home/mfdadmin/zimbra-drive/zimbra-extension/src/com/zextras/zimbradrive/NcUserZimbraBackendHttpHandler.java:159: error: cannot find symbol
[javac] AccountToken token = mBackendUtils.getAccountToken(account.getUId(),
[javac] ^
[javac] symbol: method getUId()
[javac] location: variable account of type Account
Posts: 2
Joined: Fri Nov 21, 2014 5:38 pm

Re: Zimbra & Owncloud with LDAP

Postby agbiront » Mon Jul 16, 2018 4:59 am

I have the same issue.

The AD on Nextcloud is configured to autheticate based on the mail string, so both entries go to the same UID. But the user is duplicated. When I want to share a file, both users show up, even if I disable one of them.

What I want to achieve is only authenticate Zimbra users. Zimbra autheticates with my AD. If I disable the AD integration on Nextcloud, Zimbra users can log in within Zimbra. Once they are logged in they can log in through Nextcloud directly 'cause the user is created, but when they install the app it fails to sync with a 2-way authentication error.

So, I need both, Zimbra and Nextcloud with AD integration but that way I get duplicated users.
Posts: 1
Joined: Wed Sep 19, 2018 7:24 pm

Re: Zimbra & Owncloud with LDAP

Postby pwalsh » Wed Sep 19, 2018 7:34 pm

I have the same issue. Zimbra 8.8.8 and Nextcloud 13. In Zimbra, I have zimbradrive gimlet 2.0.1 and in Nextcloud using zimbra drive 0.8.20

I linked Nextcloud up to Zimbra for LDAP authentication, and that works great. It created all my users, and they can log in fine.

But, if I allow and link Zimbra drive, then I get a new account for the same user. And clearly, these are actually two very separate users and they can't see their files in both ways to access. They see separate files.

Very frustrating. :oops: Is there no fix for this yet??
Posts: 1
Joined: Mon Sep 02, 2019 2:47 pm

Re: Zimbra & Owncloud with LDAP

Postby dajevtic » Mon Sep 02, 2019 2:55 pm

If I may share my current experience, it actually seems to be quite possible to integrate Nextcloud (current version) and Zimbra and avoid duplicate user creations...

ldap_config_zimbra_nc.PNG (45.66 KiB) Viewed 7170 times

By adding the "zimbraId" attribute, nextcloud will create the users by the ID attribute, which is the same value that is used by "Zimbra Drive".
I had some problems with existing users (which were created before the LDAP users, but a little bit of tweaking fixed the issue as well)

Kind regards!
Posts: 6
Joined: Thu Feb 26, 2015 1:41 am

Re: Zimbra & Owncloud with LDAP

Postby sterua » Sun Sep 08, 2019 4:25 pm

Hello dajevtic, where can you set this attribute?
Posts: 6
Joined: Thu Feb 26, 2015 1:41 am

Re: Zimbra & Owncloud with LDAP

Postby sterua » Mon Sep 09, 2019 12:58 pm

Hey i found this setting.
So now,, zimbra et nextcloud have same users and password, and the data are in the same directory in the nextcloud-data, but, in zimbra webmail, i dont see the file uploading in nextcloud web ui, and in nextcloud, i dont see files uploading in zimbra webmail ui.
did it works for someone ?
Posts: 17
Joined: Fri Sep 12, 2014 11:31 pm

Re: Zimbra & Owncloud with LDAP

Postby guigsilva » Mon Mar 09, 2020 5:31 pm

We are trying to make this integration Owncloud/Zimbra but have the same problems here.

Zimbra is authenticating on AD
Owncloud is authenticating on AD

But when users try to use drive Owncloud duplicates the user whith UserId code...

Where is the Internal Username Attribute?

What is the tweaking to the existing users?

Thanks in advance
Posts: 1
Joined: Tue May 19, 2020 7:20 am

Re: Zimbra & Owncloud with LDAP

Postby nicopanpe » Tue May 19, 2020 7:22 am

Good Morning,
has anyone found a solution?

Return to “Zimbra Drive”

Who is online

Users browsing this forum: No registered users and 2 guests