Page 1 of 1

Zimbra & Owncloud with LDAP

Posted: Sun Jan 14, 2018 11:06 am
by ednt
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 ??

Re: Zimbra & Owncloud with LDAP

Posted: Mon Mar 12, 2018 3:08 pm
by leoyip

Re: Zimbra & Owncloud with LDAP

Posted: Tue Apr 17, 2018 12:45 pm
by admfd
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