I have used nextcloud 12 on Synology_NAS
From this nextcloud instance i connected to an LDAP-Server on apple 10.12. via LDAP/AD-Integration
All went well.
The user could authorize in nextlcoud against the LDAP-Server on the apple macos 10.12
now i have upgradet to nextcloud 13 by a new installation
I have configured again the LDAP/AD-Integration like in nextcloud 12
When i test the conifguration in the Webfrontend of nextcloud all is ok.
The LDAP-Server is available.
When i want to login with a LDAP-User i get the following errors (with log_level=0 in the config.php):
{“reqId”:“9NiWGUcp4ma2BiBOijpa”,“level”:0,“time”:“February 21, 2018 13:12:39”,“remoteAddr”:“134.60.73.39”,“user”:"–",“app”:“core”,“method”:“GET”,“url”:"/nextcloud/index.php/login",“message”:“Scss is disabled for /volume1/web/nextcloud/core/css/jquery-ui-fixes.scss, ignoring”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36”,“version”:“13.0.0.14”}
{“reqId”:“9NiWGUcp4ma2BiBOijpa”,“level”:0,“time”:“February 21, 2018 13:12:39”,“remoteAddr”:“134.60.73.39”,“user”:"–",“app”:“core”,“method”:“GET”,“url”:"/nextcloud/index.php/login",“message”:“Scss is disabled for /volume1/web/nextcloud/core/css/server.scss, ignoring”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36”,“version”:“13.0.0.14”}
{“reqId”:“9NiWGUcp4ma2BiBOijpa”,“level”:0,“time”:“February 21, 2018 13:12:39”,“remoteAddr”:“134.60.73.39”,“user”:"–",“app”:“core”,“method”:“GET”,“url”:"/nextcloud/index.php/login",“message”:“Scss is disabled for /volume1/web/nextcloud/core/css/share.scss, ignoring”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36”,“version”:“13.0.0.14”}
{“reqId”:“9NiWGUcp4ma2BiBOijpa”,“level”:0,“time”:“February 21, 2018 13:12:39”,“remoteAddr”:“134.60.73.39”,“user”:"–",“app”:“core”,“method”:“GET”,“url”:"/nextcloud/index.php/login",“message”:“Scss is disabled for /volume1/web/nextcloud/core/css/jquery.ocdialog.scss, ignoring”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36”,“version”:“13.0.0.14”}
{“reqId”:“WJIcyStQDxV9muqLj2w4”,“level”:0,“time”:“February 21, 2018 13:12:39”,“remoteAddr”:“134.60.73.39”,“user”:"–",“app”:“cron”,“method”:“GET”,“url”:"/nextcloud/cron.php",“message”:“Run OCA\Files_Versions\BackgroundJob\ExpireVersions job with ID 10”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36”,“version”:“13.0.0.14”}
{“reqId”:“WJIcyStQDxV9muqLj2w4”,“level”:0,“time”:“February 21, 2018 13:12:39”,“remoteAddr”:“134.60.73.39”,“user”:"–",“app”:“cron”,“method”:“GET”,“url”:"/nextcloud/cron.php",“message”:“Finished OCA\Files_Versions\BackgroundJob\ExpireVersions job with ID 10 in 0 seconds”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36”,“version”:“13.0.0.14”}
{“reqId”:“Iwzm0VfhGIWj7u8ZTcOA”,“level”:0,“time”:“February 21, 2018 13:12:48”,“remoteAddr”:“134.60.73.39”,“user”:"–",“app”:“user_ldap”,“method”:“POST”,“url”:"/nextcloud/index.php/login",“message”:“Turned off SSL certificate validation successfully.”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36”,“version”:“13.0.0.14”}
{“reqId”:“Iwzm0VfhGIWj7u8ZTcOA”,“level”:0,“time”:“February 21, 2018 13:12:48”,“remoteAddr”:“134.60.73.39”,“user”:"–",“app”:“user_ldap”,“method”:“POST”,“url”:"/nextcloud/index.php/login",“message”:“initializing paged search for Filter (&(|(objectclass=person))(|(uid=haglo))) base Array\n(\n [0] => dc=tw,dc=medizin,dc=uni-ulm,dc=de\n)\n attr Array\n(\n [0] => entryuuid\n [1] => nsuniqueid\n [2] => objectguid\n [3] => guid\n [4] => ipauniqueid\n [5] => dn\n [6] => uid\n [7] => samaccountname\n [8] => memberof\n [9] => \n [10] => \n [11] => \n [12] => cn\n [13] => \n [14] => jpegphoto\n [15] => thumbnailphoto\n)\n limit 500 offset 0”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36”,“version”:“13.0.0.14”}
{“reqId”:“Iwzm0VfhGIWj7u8ZTcOA”,“level”:0,“time”:“February 21, 2018 13:12:48”,“remoteAddr”:“134.60.73.39”,“user”:"–",“app”:“user_ldap”,“method”:“POST”,“url”:"/nextcloud/index.php/login",“message”:“Ready for a paged search”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36”,“version”:“13.0.0.14”}
{“reqId”:“Iwzm0VfhGIWj7u8ZTcOA”,“level”:0,“time”:“February 21, 2018 13:12:48”,“remoteAddr”:“134.60.73.39”,“user”:"–",“app”:“user_ldap”,“method”:“POST”,“url”:"/nextcloud/index.php/login",“message”:“Turned off SSL certificate validation successfully.”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36”,“version”:“13.0.0.14”}
{“reqId”:“Iwzm0VfhGIWj7u8ZTcOA”,“level”:0,“time”:“February 21, 2018 13:12:48”,“remoteAddr”:“134.60.73.39”,“user”:"–",“app”:“user_ldap”,“method”:“POST”,“url”:"/nextcloud/index.php/login",“message”:“LDAP error Insufficient access (50) after calling ldap_bind”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36”,“version”:“13.0.0.14”}
{“reqId”:“Iwzm0VfhGIWj7u8ZTcOA”,“level”:2,“time”:“February 21, 2018 13:12:48”,“remoteAddr”:“134.60.73.39”,“user”:"–",“app”:“user_ldap”,“method”:“POST”,“url”:"/nextcloud/index.php/login",“message”:“Bind failed: 50: Insufficient access”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36”,“version”:“13.0.0.14”}
{“reqId”:“Iwzm0VfhGIWj7u8ZTcOA”,“level”:3,“time”:“February 21, 2018 13:12:48”,“remoteAddr”:“134.60.73.39”,“user”:"–",“app”:“user_ldap”,“method”:“POST”,“url”:"/nextcloud/index.php/login",“message”:“No LDAP Connection to server ldap://134.60.122.5”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36”,“version”:“13.0.0.14”}
{“reqId”:“Iwzm0VfhGIWj7u8ZTcOA”,“level”:3,“time”:“February 21, 2018 13:12:48”,“remoteAddr”:“134.60.73.39”,“user”:"–",“app”:“index”,“method”:“POST”,“url”:"/nextcloud/index.php/login",“message”:“Exception: {“Exception”:“OC\\ServerNotAvailableException”,“Message”:“Connection to LDAP server could not be established”,“Code”:0,“Trace”:”#0 \/volume1\/web\/nextcloud\/apps\/user_ldap\/lib\/Connection.php(615): OCA\\User_LDAP\\Connection->getConnectionResource()\n#1 \/volume1\/web\/nextcloud\/apps\/user_ldap\/lib\/Access.php(1508): OCA\\User_LDAP\\Connection->bind(*** sensitive parameters replaced )\n#2 \/volume1\/web\/nextcloud\/apps\/user_ldap\/lib\/User_LDAP.php(201): OCA\\User_LDAP\\Access->areCredentialsValid( sensitive parameters replaced )\n#3 [internal function]: OCA\\User_LDAP\\User_LDAP->checkPassword( sensitive parameters replaced )\n#4 \/volume1\/web\/nextcloud\/apps\/user_ldap\/lib\/User_Proxy.php(81): call_user_func_array(Array, Array)\n#5 \/volume1\/web\/nextcloud\/apps\/user_ldap\/lib\/Proxy.php(152): OCA\\User_LDAP\\User_Proxy->walkBackends(‘haglo’, ‘checkPassword’, Array)\n#6 \/volume1\/web\/nextcloud\/apps\/user_ldap\/lib\/User_Proxy.php(196): OCA\\User_LDAP\\Proxy->handleRequest(‘haglo’, ‘checkPassword’, Array)\n#7 \/volume1\/web\/nextcloud\/lib\/private\/User\/Manager.php(204): OCA\\User_LDAP\\User_Proxy->checkPassword( sensitive parameters replaced )\n#8 \/volume1\/web\/nextcloud\/core\/Controller\/LoginController.php(254): OC\\User\\Manager->checkPasswordNoLogging( sensitive parameters replaced )\n#9 [internal function]: OC\\Core\\Controller\\LoginController->tryLogin( sensitive parameters replaced ***)\n#10 \/volume1\/web\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(161): call_user_func_array(Array, Array)\n#11 \/volume1\/web\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(91): OC\\AppFramework\\Http\\Dispatcher->executeController(Object(OC\\Core\\Controller\\LoginController), ‘tryLogin’)\n#12 \/volume1\/web\/nextcloud\/lib\/private\/AppFramework\/App.php(115): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OC\\Core\\Controller\\LoginController), ‘tryLogin’)\n#13 \/volume1\/web\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php(47): OC\\AppFramework\\App::main(‘OC\\\\Core\\\\Control…’, ‘tryLogin’, Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\n#14 [internal function]: OC\\AppFramework\\Routing\\RouteActionHandler->__invoke(Array)\n#15 \/volume1\/web\/nextcloud\/lib\/private\/Route\/Router.php(297): call_user_func(Object(OC\\AppFramework\\Routing\\RouteActionHandler), Array)\n#16 \/volume1\/web\/nextcloud\/lib\/base.php(998): OC\\Route\\Router->match(’\/login’)\n#17 \/volume1\/web\/nextcloud\/index.php(37): OC::handleRequest()\n#18 {main}",“File”:"\/volume1\/web\/nextcloud\/apps\/user_ldap\/lib\/Connection.php",“Line”:193}",“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36”,“version”:“13.0.0.14”}
{“reqId”:“Iwzm0VfhGIWj7u8ZTcOA”,“level”:0,“time”:“February 21, 2018 13:12:48”,“remoteAddr”:“134.60.73.39”,“user”:"–",“app”:“core”,“method”:“POST”,“url”:"/nextcloud/index.php/login",“message”:“Scss is disabled for /volume1/web/nextcloud/core/css/jquery-ui-fixes.scss, ignoring”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36”,“version”:“13.0.0.14”}
{“reqId”:“Iwzm0VfhGIWj7u8ZTcOA”,“level”:0,“time”:“February 21, 2018 13:12:48”,“remoteAddr”:“134.60.73.39”,“user”:"–",“app”:“core”,“method”:“POST”,“url”:"/nextcloud/index.php/login",“message”:“Scss is disabled for /volume1/web/nextcloud/core/css/server.scss, ignoring”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36”,“version”:“13.0.0.14”}
{“reqId”:“Iwzm0VfhGIWj7u8ZTcOA”,“level”:0,“time”:“February 21, 2018 13:12:48”,“remoteAddr”:“134.60.73.39”,“user”:"–",“app”:“core”,“method”:“POST”,“url”:"/nextcloud/index.php/login",“message”:“Scss is disabled for /volume1/web/nextcloud/core/css/share.scss, ignoring”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36”,“version”:“13.0.0.14”}
{“reqId”:“Iwzm0VfhGIWj7u8ZTcOA”,“level”:0,“time”:“February 21, 2018 13:12:48”,“remoteAddr”:“134.60.73.39”,“user”:"–",“app”:“core”,“method”:“POST”,“url”:"/nextcloud/index.php/login",“message”:“Scss is disabled for /volume1/web/nextcloud/core/css/jquery.ocdialog.scss, ignoring”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36”,“version”:“13.0.0.14”}
{“reqId”:“Iwzm0VfhGIWj7u8ZTcOA”,“level”:0,“time”:“February 21, 2018 13:12:48”,“remoteAddr”:“134.60.73.39”,“user”:"–",“app”:“core”,“method”:“POST”,“url”:"/nextcloud/index.php/login",“message”:“Scss is disabled for /volume1/web/nextcloud/core/css/styles.scss, ignoring”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36”,“version”:“13.0.0.14”}
{“reqId”:“Iwzm0VfhGIWj7u8ZTcOA”,“level”:0,“time”:“February 21, 2018 13:12:48”,“remoteAddr”:“134.60.73.39”,“user”:"–",“app”:“core”,“method”:“POST”,“url”:"/nextcloud/index.php/login",“message”:“Scss is disabled for /volume1/web/nextcloud/core/css/header.scss, ignoring”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36”,“version”:“13.0.0.14”}
When i want to login with a LDAP-User i get the following errors (with log_level=3 in the config.php):
{“reqId”:“sLR2pkCRrhJjEhnnpIvF”,“level”:3,“time”:“February 21, 2018 13:19:00”,“remoteAddr”:“134.60.73.39”,“user”:"–",“app”:“user_ldap”,“method”:“POST”,“url”:"/nextcloud/index.php/login",“message”:“No LDAP Connection to server ldap://134.60.122.5”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36”,“version”:“13.0.0.14”}
{“reqId”:“sLR2pkCRrhJjEhnnpIvF”,“level”:3,“time”:“February 21, 2018 13:19:00”,“remoteAddr”:“134.60.73.39”,“user”:"–",“app”:“index”,“method”:“POST”,“url”:"/nextcloud/index.php/login",“message”:“Exception: {“Exception”:“OC\\ServerNotAvailableException”,“Message”:“Connection to LDAP server could not be established”,“Code”:0,“Trace”:”#0 \/volume1\/web\/nextcloud\/apps\/user_ldap\/lib\/Connection.php(615): OCA\\User_LDAP\\Connection->getConnectionResource()\n#1 \/volume1\/web\/nextcloud\/apps\/user_ldap\/lib\/Access.php(1508): OCA\\User_LDAP\\Connection->bind(*** sensitive parameters replaced )\n#2 \/volume1\/web\/nextcloud\/apps\/user_ldap\/lib\/User_LDAP.php(201): OCA\\User_LDAP\\Access->areCredentialsValid( sensitive parameters replaced )\n#3 [internal function]: OCA\\User_LDAP\\User_LDAP->checkPassword( sensitive parameters replaced )\n#4 \/volume1\/web\/nextcloud\/apps\/user_ldap\/lib\/User_Proxy.php(81): call_user_func_array(Array, Array)\n#5 \/volume1\/web\/nextcloud\/apps\/user_ldap\/lib\/Proxy.php(152): OCA\\User_LDAP\\User_Proxy->walkBackends(‘haglo’, ‘checkPassword’, Array)\n#6 \/volume1\/web\/nextcloud\/apps\/user_ldap\/lib\/User_Proxy.php(196): OCA\\User_LDAP\\Proxy->handleRequest(‘haglo’, ‘checkPassword’, Array)\n#7 \/volume1\/web\/nextcloud\/lib\/private\/User\/Manager.php(204): OCA\\User_LDAP\\User_Proxy->checkPassword( sensitive parameters replaced )\n#8 \/volume1\/web\/nextcloud\/core\/Controller\/LoginController.php(254): OC\\User\\Manager->checkPasswordNoLogging( sensitive parameters replaced )\n#9 [internal function]: OC\\Core\\Controller\\LoginController->tryLogin( sensitive parameters replaced ***)\n#10 \/volume1\/web\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(161): call_user_func_array(Array, Array)\n#11 \/volume1\/web\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(91): OC\\AppFramework\\Http\\Dispatcher->executeController(Object(OC\\Core\\Controller\\LoginController), ‘tryLogin’)\n#12 \/volume1\/web\/nextcloud\/lib\/private\/AppFramework\/App.php(115): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OC\\Core\\Controller\\LoginController), ‘tryLogin’)\n#13 \/volume1\/web\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php(47): OC\\AppFramework\\App::main(‘OC\\\\Core\\\\Control…’, ‘tryLogin’, Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\n#14 [internal function]: OC\\AppFramework\\Routing\\RouteActionHandler->__invoke(Array)\n#15 \/volume1\/web\/nextcloud\/lib\/private\/Route\/Router.php(297): call_user_func(Object(OC\\AppFramework\\Routing\\RouteActionHandler), Array)\n#16 \/volume1\/web\/nextcloud\/lib\/base.php(998): OC\\Route\\Router->match(’\/login’)\n#17 \/volume1\/web\/nextcloud\/index.php(37): OC::handleRequest()\n#18 {main}",“File”:"\/volume1\/web\/nextcloud\/apps\/user_ldap\/lib\/Connection.php",“Line”:193}",“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36”,“version”:“13.0.0.14”}
Can somenbody hel me?
I find it strange, that i get following snippet in the error-mesage: ,“user”:"–"