Detach Nextcloud with Zimbra Drive

All about Zimbra Drive
Post Reply
eric.79ty
Posts: 1
Joined: Tue Aug 31, 2021 1:29 pm

Detach Nextcloud with Zimbra Drive

Post by eric.79ty »

Hi,

Currently we have Nextcloud integrated with Zimbra through Zimbra Drive. The Nextcloud users is sync from Zimbra where the user's authentication is depended on Zimbra. Currently we plan to detach Nextcloud with Zimbra Drive, where Nextcloud user profile and authentication will be done with our LDAP. Integration with Zimbra will be using Zimlet and Nextcloud OAuth2. May I know is that possible to do so without losing existing users' uploaded files? Any guide that we can refer to if there is any?

Thanks.
sp1411
Posts: 1
Joined: Fri Sep 03, 2021 6:32 am

Re: Detach Nextcloud with Zimbra Drive

Post by sp1411 »

I'm also looking for solution on migrating Nextcloud users' profile and authentication from Zimbra. Any guide or tools for the migration? Currently we are still using zimbra open drive zimlet in classic interface. We wish to use LDAP authentication to access nextcloud instead of using zimbra authentication. Thank you.
svalavuo
Posts: 11
Joined: Sat Sep 13, 2014 12:35 am
Location: Rauma, Finland
ZCS/ZD Version: ZCS 8.8.9
Contact:

Re: Detach Nextcloud with Zimbra Drive

Post by svalavuo »

Hi,

I too am trying to find a solution to this (sort of).
In my case I'd like to authenticate against Zimbra LDAP.
My reason is, that I'd like to upgrade Nextcloud from 20.0 -> but ZimbraDrive won't work after upgrade.
Is there a way to use the same UUID with LDAP backend? That way we wouldn't lose our files and the transfer would be smoother.
I tried to change LDAP / AD integration in Expert mode so that in Override UUID detection the value of UUID Attribute for Users: is zimbraId
Is that the correct way?
It didn't help, but it can be that my userid existed in Nextcloud from previous attempt to switch from ZimbraDrive.

- Samuli
User avatar
Rony
Posts: 45
Joined: Fri Jan 27, 2017 3:50 pm
Location: Canada-Montreal
ZCS/ZD Version: Zimbra 9.0.0_GA_4174
Contact:

Re: Detach Nextcloud with Zimbra Drive

Post by Rony »

Hi,
I have tried to do the same, removed Zimbra Drive and installed Nextcloud zimlet but unfortunately the usernames change and their files are not accessible anymore as we cannot move them from the old to the new username since the old ones are not visible anymore on Nextcloud.
If we check the Data folder, we can still see them so their files are still on the server.
It is better to make backups and upload them again to each user profile.

My Nextcloud integration didn't work though, in Zimbra mail, I see the Activate in Cloud Storage section for Nextcloud but after authentication it just doesn't change and reload a new page with the Activate button.
But this applies only to existing email accounts, when I create a new user account, it will Activate with NextCloud.

I will need the command to remove the old Tokens from the existing accounts, if anyone knows how to do it.
Thank you
Post Reply