Can not login with with ldap user using the iphone notes-app
Reopened in core like requested.
Since some time it is not possible for me anymore to login with my iphone app to notes. It keeps on telling me I am unauthorized and to check username and password. I am sure my login data is correct and can also reproduce this on my test system with the latest master. The browser-app notes continues to run like expected.
I am running OC Stable7 updated to the latest git. Ubuntu 14.04 / Mysql / OpenLdap
Debug Error log gives:
{"reqId":"53dcfe9ba2773","app":"core","message":"DB prepare : SELECT `id` FROM `oc_jobs` WHERE `class` = ? AND `argument` = ?","level":0,"time":"August 02, 2014 17:07:07","method":"GET","url":"\/index.php\/apps\/notes\/api\/v0.2\/notes?exclude=content"}
{"reqId":"53dcfe9ba2773","app":"core","message":"DB prepare : SELECT `uid`, `password` FROM `oc_users` WHERE LOWER(`uid`) = LOWER(?)","level":0,"time":"August 02, 2014 17:07:07","method":"GET","url":"\/index.php\/apps\/notes\/api\/v0.2\/notes?exclude=content"}
{"reqId":"53dcfe9ba2773","app":"core","message":"DB execute with arguments : array ( 0 => 'userX', )","level":0,"time":"August 02, 2014 17:07:07","method":"GET","url":"\/index.php\/apps\/notes\/api\/v0.2\/notes?exclude=content"}
{"reqId":"53dcfe9ba2773","app":"core","message":"DB prepare : SELECT `appid`, `configvalue` FROM `oc_appconfig` WHERE `configkey` = 'installed_version'","level":0,"time":"August 02, 2014 17:07:07","method":"GET","url":"\/index.php\/apps\/notes\/api\/v0.2\/notes?exclude=content"}
{"reqId":"53dcfe9ba2773","app":"core","message":"DB execute with arguments : array ( )","level":0,"time":"August 02, 2014 17:07:07","method":"GET","url":"\/index.php\/apps\/notes\/api\/v0.2\/notes?exclude=content"}
{"reqId":"53dcfe9ba2773","app":"core","message":"DB prepare : \n\t\t\tSELECT DISTINCT `configkey`\n\t\t\tFROM `oc_appconfig`\n\t\t\tWHERE `appid` = 'user_ldap'\n\t\t\t\tAND `configkey` LIKE ?\n\t\t AND `configvalue` = '1'","level":0,"time":"August 02, 2014 17:07:07","method":"GET","url":"\/index.php\/apps\/notes\/api\/v0.2\/notes?exclude=content"}
{"reqId":"53dcfe9ba2773","app":"core","message":"DB execute with arguments : array ( 0 => '%ldap_configuration_active', )","level":0,"time":"August 02, 2014 17:07:07","method":"GET","url":"\/index.php\/apps\/notes\/api\/v0.2\/notes?exclude=content"}
{"reqId":"53dcfe9ba2773","app":"core","message":"DB prepare : \n\t\t\tSELECT DISTINCT `configkey`\n\t\t\tFROM `oc_appconfig`\n\t\t\tWHERE `appid` = 'user_ldap'\n\t\t\t\tAND `configkey` LIKE ?\n\t\t","level":0,"time":"August 02, 2014 17:07:07","method":"GET","url":"\/index.php\/apps\/notes\/api\/v0.2\/notes?exclude=content"}
{"reqId":"53dcfe9ba2773","app":"core","message":"DB execute with arguments : array ( 0 => '%ldap_configuration_active', )","level":0,"time":"August 02, 2014 17:07:07","method":"GET","url":"\/index.php\/apps\/notes\/api\/v0.2\/notes?exclude=content"}
{"reqId":"53dcfe9ba2773","app":"core","message":"DB prepare : SELECT `gid` FROM `oc_groups` WHERE `gid` = ?","level":0,"time":"August 02, 2014 17:07:07","method":"GET","url":"\/index.php\/apps\/notes\/api\/v0.2\/notes?exclude=content"}
{"reqId":"53dcfe9ba2773","app":"core","message":"DB execute with arguments : array ( 0 => 'admin', )","level":0,"time":"August 02, 2014 17:07:07","method":"GET","url":"\/index.php\/apps\/notes\/api\/v0.2\/notes?exclude=content"}
{"reqId":"53dcfe9ba2773","app":"core","message":"DB prepare : SELECT `uid`, `displayname` FROM `oc_users` WHERE LOWER(`uid`) = LOWER(?)","level":0,"time":"August 02, 2014 17:07:07","method":"GET","url":"\/index.php\/apps\/notes\/api\/v0.2\/notes?exclude=content"}
{"reqId":"53dcfe9ba2773","app":"core","message":"DB execute with arguments : array ( 0 => NULL, )","level":0,"time":"August 02, 2014 17:07:07","method":"GET","url":"\/index.php\/apps\/notes\/api\/v0.2\/notes?exclude=content"}
{"reqId":"53dcfe9ba2773","app":"core","message":"DB prepare : \n\t\t\tSELECT `ldap_dn`\n\t\t\tFROM `oc_ldap_user_mapping`\n\t\t\tWHERE `owncloud_name` = ?\n\t\t","level":0,"time":"August 02, 2014 17:07:07","method":"GET","url":"\/index.php\/apps\/notes\/api\/v0.2\/notes?exclude=content"}
{"reqId":"53dcfe9ba2773","app":"core","message":"DB execute with arguments : array ( 0 => NULL, )","level":0,"time":"August 02, 2014 17:07:07","method":"GET","url":"\/index.php\/apps\/notes\/api\/v0.2\/notes?exclude=content"}
{"reqId":"53dcfe9ba2773","app":"core","message":"DB execute with arguments : array ( 0 => NULL, )","level":0,"time":"August 02, 2014 17:07:07","method":"GET","url":"\/index.php\/apps\/notes\/api\/v0.2\/notes?exclude=content"}
{"reqId":"53dcfe9ba2773","app":"user_ldap","message":"No DN found for on 127.0.0.1","level":0,"time":"August 02, 2014 17:07:07","method":"GET","url":"\/index.php\/apps\/notes\/api\/v0.2\/notes?exclude=content"}
{"reqId":"53dcfe9ba2773","app":"no app in context","message":"Current user is not logged in","level":0,"time":"August 02, 2014 17:07:07","method":"GET","url":"\/index.php\/apps\/notes\/api\/v0.2\/notes?exclude=content"}
To me the single last message looks to be causing this problem, however I have no problems with logging in on the website or using DAV with several clients.
can´t reproduce. Does this problem still exist? Can your verify with a different server or user
The notes app was updated a couple of days ago, after this (or maybe earlier?) the connection was working again.