Password not updating on NC Client

Support Intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version : 10.0.6 Stable
Operating system and version: Ubuntu 16.04
Apache or nginx version (eg, Apache 2.4.25): apache 2.4.18
PHP version (eg, 7.1): 7.0.33

The issue you are facing:
We use LDAP integration to allow users to login with their AD username and password. This works but once the user changes their password the NextCloud client asks for a new username and password in a webpage which does not seem to update the client credentials. The client status changes from disconnected to connecting to … but it never manages to sign in again.

Is this the first time you’ve seen this error? (Y/N): Y, but this is a migration from Owncloud to Nextcloud and the first time users are needing to change passwords

Steps to replicate it:

  1. User is prompted to update his password by windows
  2. User changes password
  3. After login NextCloud client gives a popup (like OC used to) but asks for both username and password in a new window (instead of just a password update like owncloud did.)
  4. User enters username and new password, and is logged into the Nextcloud instance instead of the client being updated.
  5. User is never able to update the password
  6. Client remains disconnected

The output of your Nextcloud log in Admin > Logging:

Info	core	Bruteforce attempt from "x.x.0.1" detected for action "login".	2019-03-12T07:15:30+00:00	--
Warning	core	Login failed: 'sharlv' (Remote IP: '192.168.0.1')	2019-03-12T07:15:30+00:00	--
Warning	user_ldap	Bind failed: 49: Invalid credentials	2019-03-12T07:15:30+00:00	--
Error	index	Exception: {"Exception":"OC\\PreviewNotAvailableException","Message":"SVG mimetype cannot be rendered","Code":0,"Trace":"#0 \/var\/www\/owncloud\/lib\/private\/Preview.php(809): OC\\Preview->getMimeIcon()\n#1 \/var\/www\/owncloud\/core\/ajax\/preview.php(66): OC\\Preview->showPreview()\n#2 \/var\/www\/owncloud\/lib\/private\/Route\/Route.php(155) : runtime-created function(1): require_once('\/var\/www\/ownclo...')\n#3 [internal function]: __lambda_func(NULL)\n#4 \/var\/www\/owncloud\/lib\/private\/Route\/Router.php(293): call_user_func('\\x00lambda_268', Array)\n#5 \/var\/www\/owncloud\/lib\/base.php(998): OC\\Route\\Router->match('\/core\/preview.p...')\n#6 \/var\/www\/owncloud\/index.php(48): OC::handleRequest()\n#7 {main}","File":"\/var\/www\/owncloud\/lib\/private\/Preview.php","Line":1188}	2019-03-12T07:03:11+00:00	2CB728B4-9686-431B-AA7B-4D1BE75C78FC
Info	core	Bruteforce attempt from "x.x.0.1" detected for action "login".	2019-03-12T06:57:25+00:00	--
Error	index	Exception: {"Exception":"OC\\PreviewNotAvailableException","Message":"SVG mimetype cannot be rendered","Code":0,"Trace":"#0 \/var\/www\/owncloud\/lib\/private\/Preview.php(809): OC\\Preview->getMimeIcon()\n#1 \/var\/www\/owncloud\/core\/ajax\/preview.php(66): OC\\Preview->showPreview()\n#2 \/var\/www\/owncloud\/lib\/private\/Route\/Route.php(155) : runtime-created function(1): require_once('\/var\/www\/ownclo...')\n#3 [internal function]: __lambda_func(NULL)\n#4 \/var\/www\/owncloud\/lib\/private\/Route\/Router.php(293): call_user_func('\\x00lambda_268', Array)\n#5 \/var\/www\/owncloud\/lib\/base.php(998): OC\\Route\\Router->match('\/core\/preview.p...')\n#6 \/var\/www\/owncloud\/index.php(48): OC::handleRequest()\n#7 {main}","File":"\/var\/www\/owncloud\/lib\/private\/Preview.php","Line":1188}	2019-03-12T07:03:11+00:00	2CB728B4-9686-431B-AA7B-4D1BE75C78FC
Info	core	Bruteforce attempt from "x.x.0.1" detected for action "login".	2019-03-12T06:57:25+00:00	--
Warning	core	Login failed: 'sharlv' (Remote IP: '0.1')	2019-03-12T06:57:25+00:00	--
Warning	user_ldap	Bind failed: 49: Invalid credentials	2019-03-12T06:57:25+00:00	--
Info	core	Bruteforce attempt from "x.x.0.1" detected for action "login".	2019-03-12T06:55:54+00:00	--
Warning	core	Login failed: 'sharlv' (Remote IP: '.0.1')	2019-03-12T06:55:54+00:00	--
Warning	user_ldap	Bind failed: 49: Invalid credentials	2019-03-12T06:55:54+00:00	--
Info	core	Bruteforce attempt from "x.x.0.1" detected for action "login".	2019-03-12T06:51:47+00:00	--
Warning	core	Login failed: 'sharlv' (Remote IP: '0.1')	2019-03-12T06:51:47+00:00	--
Warning	user_ldap	Bind failed: 49: Invalid credentials

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

PASTE HERE

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE