core icon indicating copy to clipboard operation
core copied to clipboard

OC5.0: mozilla_sync app doesn't work for users defined in LDAP

Open torlasz opened this issue 13 years ago • 5 comments

Mozilla_sync is set up and works normally for users who are defined in the local mysql db, however users who are defined in LDAP cannot be authenticated. Looks like: https://github.com/owncloud/apps/issues/416

This is the same issue that I reported in https://github.com/owncloud/apps/issues/698

torlasz avatar Mar 20 '13 20:03 torlasz

@blizzz

BernhardPosselt avatar Mar 21 '13 09:03 BernhardPosselt

Please read the contribution guidelines ;)

BernhardPosselt avatar Mar 21 '13 09:03 BernhardPosselt

Ok, here you are:

Expected behaviour

Auth should be successful for people defined in LDAP

Actual behaviour

Auth is successful for local users (defined in OC SQL db) but not for people who auth through LDAP

Steps to reproduce

  1. Setup OC5 with LDAP auth, addd Mozilla sync app
  2. setup sync in your browser for admin (successful)
  3. try to do the same in your browser as an LDAP user (auth & setup fails, you get "Unknown error" in Firefox Sync setup)

Server configuration

Operating system: RHEL 6.4

Web server: Apache httpd-2.2.15-26.el6.x86_64

Database: mysql-server-5.1.67-1.el6_3.x86_64

PHP version: php-5.3.3-22.el6.x86_64

ownCloud version: 5.0

Client configuration

Browser: Firefox 18.02

Operating system: Fedora 16

Logs

Web server error log

no errors here

ownCloud log (data/owncloud.log)

{"app":"core","message":"Adding user backend instance of OC_User_Database.","level":0,"time":1363869149} {"app":"core","message":"Adding user backend instance of OCA\user_ldap\USER_LDAP.","level":0,"time":1363869149} {"app":"core","message":"include path for class "OCA_mozilla_sync\Utils" starts with "apps/"","level":0,"time":1363869149} {"app":"core","message":"include path for class "OCA_mozilla_sync\UrlParser" starts with "apps/"","level":0,"time":1363869149} {"app":"core","message":"include path for class "OCA_mozilla_sync\UserService" starts with "apps/"","level":0,"time":1363869149} {"app":"core","message":"include path for class "OCA_mozilla_sync\Service" starts with "apps/"","level":0,"time":1363869149} {"app":"core","message":"include path for class "OCA_mozilla_sync\InputData" starts with "apps/"","level":0,"time":1363869149} {"app":"core","message":"include path for class "OCA_mozilla_sync\User" starts with "apps/"","level":0,"time":1363869149} {"app":"core","message":"include path for class "OCA_mozilla_sync\OutputData" starts with "apps/"","level":0,"time":1363869149}

Browser log

no errors here

torlasz avatar Mar 21 '13 12:03 torlasz

I can confirm the problem with Ubuntu 12.04, nginx 1.2.7 and LDAP

1of16 avatar Apr 02 '13 10:04 1of16

Since the mozilla sync app is a non-core app we don’t support I’m closing this.

jancborchardt avatar Aug 08 '13 15:08 jancborchardt