My user_ldap version is 0.15.0,
I updated the apps with occ command sudo -u www-data php occ upgrade
some have changed version, others haven’t, user_ldap remained on the same version.
Yes our passwords contain special characters @ and +, but everything was fine before the update.
I changed the log level from 3 to 0, and this is the log of a login attempt :
{"reqId":"MZuu4STxVFsMpYAU0Ixw","level":0,"time":"2020-10-05T12:27:32+00:00","remoteAddr":"98.135.115.261","user":"--","app":"OC\\User\\Session::login","method":"POST","url":"\/index.php\/login","message":"regenerating session id for uid My_OwnCloud_User, password set"} {"reqId":"MZuu4STxVFsMpYAU0Ixw","level":0,"time":"2020-10-05T12:27:32+00:00","remoteAddr":"98.135.115.261","user":"--","app":"OC\\Authentication\\Token\\DefaultTokenProvider::getToken","method":"POST","url":"\/index.php\/login","message":"token 72f8c86eb915a652cf023bf67f32f19ceb7549f0e6cf229bcc6689c599658f65818f8b1c66f5990860c70d184b3549c3ac5a1d8895b4143fa68abd2aa7dfb860 does not exist"} {"reqId":"MZuu4STxVFsMpYAU0Ixw","level":0,"time":"2020-10-05T12:27:32+00:00","remoteAddr":"98.135.115.261","user":"--","app":"OC\\User\\Session::validateToken","method":"POST","url":"\/index.php\/login","message":"token 72f8c86eb915a652cf023bf67f32f19ceb7549f0e6cf229bcc6689c599658f65818f8b1c66f5990860c70d184b3549c3ac5a1d8895b4143fa68abd2aa7dfb860, not found"} {"reqId":"MZuu4STxVFsMpYAU0Ixw","level":0,"time":"2020-10-05T12:27:32+00:00","remoteAddr":"98.135.115.261","user":"--","app":"user_ldap","method":"POST","url":"\/index.php\/login","message":"Bind failed: (), no extended diagnostics, NULL"} {"reqId":"MZuu4STxVFsMpYAU0Ixw","level":0,"time":"2020-10-05T12:27:32+00:00","remoteAddr":"98.135.115.261","user":"--","app":"user_ldap","method":"POST","url":"\/index.php\/login","message":"Bind failed: -1: Can't contact LDAP server"} {"reqId":"MZuu4STxVFsMpYAU0Ixw","level":3,"time":"2020-10-05T12:27:32+00:00","remoteAddr":"98.135.115.261","user":"--","app":"user_ldap","method":"POST","url":"\/index.php\/login","message":"Exception: {\"Exception\":\"OCA\\\\User_LDAP\\\\Exceptions\\\\BindFailedException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/user_ldap\\\/lib\\\/Connection.php(170): OCA\\\\User_LDAP\\\\Connection->establishConnection()\\n#1 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/user_ldap\\\/lib\\\/Access.php(958): OCA\\\\User_LDAP\\\\Connection->getConnectionResource()\\n#2 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/user_ldap\\\/lib\\\/Access.php(1169): OCA\\\\User_LDAP\\\\Access->executeSearch('(&(&(|(objectcl...', Array, Array, NULL, NULL)\\n#3 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/user_ldap\\\/lib\\\/Access.php(883): OCA\\\\User_LDAP\\\\Access->search('(&(&(|(objectcl...', Array, Array, NULL, NULL)\\n#4 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/user_ldap\\\/lib\\\/Access.php(778): OCA\\\\User_LDAP\\\\Access->searchUsers('(&(&(|(objectcl...', Array, NULL, NULL)\\n#5 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/user_ldap\\\/lib\\\/Access.php(751): OCA\\\\User_LDAP\\\\Access->fetchListOfUsers('(&(&(|(objectcl...', Array)\\n#6 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/user_ldap\\\/lib\\\/User\\\/Manager.php(462): OCA\\\\User_LDAP\\\\Access->fetchUsersByLoginName('My_OwnCloud_User', Array)\\n#7 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/user_ldap\\\/lib\\\/User_LDAP.php(140): OCA\\\\User_LDAP\\\\User\\\\Manager->getLDAPUserByLoginName('My_OwnCloud_User')\\n#8 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/user_ldap\\\/lib\\\/User_Proxy.php(84): OCA\\\\User_LDAP\\\\User_LDAP->checkPassword(*** sensitive parameters replaced ***)\\n#9 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/user_ldap\\\/lib\\\/Proxy.php(145): OCA\\\\User_LDAP\\\\User_Proxy->walkBackends('My_OwnCloud_User', 'checkPassword', Array)\\n#10 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/user_ldap\\\/lib\\\/User_Proxy.php(189): OCA\\\\User_LDAP\\\\Proxy->handleRequest('My_OwnCloud_User', 'checkPassword', Array)\\n#11 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/User\\\/Manager.php(263): OCA\\\\User_LDAP\\\\User_Proxy->checkPassword(*** sensitive parameters replaced ***)\\n#12 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/User\\\/Session.php(527): OC\\\\User\\\\Manager->checkPassword(*** sensitive parameters replaced ***)\\n#13 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/User\\\/Session.php(333): OC\\\\User\\\\Session->loginWithPassword(*** sensitive parameters replaced ***)\\n#14 \\\/var\\\/www\\\/html\\\/owncloud\\\/core\\\/Controller\\\/LoginController.php(223): OC\\\\User\\\\Session->login(*** sensitive parameters replaced ***)\\n#15 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(153): OC\\\\Core\\\\Controller\\\\LoginController->tryLogin(*** sensitive parameters replaced ***)\\n#16 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(85): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController(Object(OC\\\\Core\\\\Controller\\\\LoginController), 'tryLogin')\\n#17 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(100): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OC\\\\Core\\\\Controller\\\\LoginController), 'tryLogin')\\n#18 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main('LoginController', 'tryLogin', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#19 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Route\\\/Router.php(342): OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#20 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/base.php(916): OC\\\\Route\\\\Router->match('\\\/login')\\n#21 \\\/var\\\/www\\\/html\\\/owncloud\\\/index.php(54): OC::handleRequest()\\n#22 {main}\",\"File\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/user_ldap\\\/lib\\\/Connection.php\",\"Line\":532}"} {"reqId":"MZuu4STxVFsMpYAU0Ixw","level":2,"time":"2020-10-05T12:27:32+00:00","remoteAddr":"98.135.115.261","user":"--","app":"core","method":"POST","url":"\/index.php\/login","message":"Login failed: 'My_OwnCloud_User' (Remote IP: '98.135.115.261')"}