You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first off, I'm not sure if this is related to #7135 or not - but since the preconditions are different I decided to open a separat issue to be merged if this is the same problem.
I have set up my nextcloud instance to work with LDAP. After long hours of configuration everything seems to finally work, except for the self password change by the user.
As an admin I can easily change a user password on the LDAP server in the nextcloud user list. However, if I try to do this as a user, I get the feedback "Wrong password" (I assume referring to the current password?) and the password is not changed.
Password change is successful when additional login attribute =uid is activated and user uses that to log in. Although it takes a very long time (especially compared to changing the user password from the admin view) Possible connected to #3762 ? Also, whatever goes on here might actually explain the log entry (see below).
After some further testing my assumption is that nextcloud tries to change the password using the incorrect login attribute and thus does not succeed.
Steps to reproduce
Preconditions: Make sure the cn configured on your LDAP for your users is a value with a space (eg "Firstname Lastname")
Configure nextcloud to use LDAP, including binding account and password change activated.
Configure the single possible login attribute to be the cn
(as an extra I have also configured UUID=cn which leads to nextcloud internally replacing the spaces of the cn with underlines - further tests have shown that this configuration is not necessary to reproduce the bug)
Reconfirm password change works by changing the password of an LDAP user as nextcloud admin user
Login as that user and try to change password
Expected behaviour
Password change confirmation should appear and password should be changed on LDAP
Actual behaviour
Error message "Wrong password" and no change in password on LDAP server.
Server configuration
Operating system:
Debian 8.8
Web server:
Apache2
Database:
MySQL
PHP version:
5.6.30
Nextcloud version: (see Nextcloud admin page)
12.0.3
Updated from an older Nextcloud/ownCloud or fresh install:
Fresh install
Where did you install Nextcloud from:
Turnkeylinux
first off, I'm not sure if this is related to #7135 or not - but since the preconditions are different I decided to open a separat issue to be merged if this is the same problem.
Looks like the same issue - let's continue in #7135
Hello,
first off, I'm not sure if this is related to #7135 or not - but since the preconditions are different I decided to open a separat issue to be merged if this is the same problem.
I have set up my nextcloud instance to work with LDAP. After long hours of configuration everything seems to finally work, except for the self password change by the user.
As an admin I can easily change a user password on the LDAP server in the nextcloud user list. However, if I try to do this as a user, I get the feedback "Wrong password" (I assume referring to the current password?) and the password is not changed.
Password change is successful when additional login attribute =uid is activated and user uses that to log in. Although it takes a very long time (especially compared to changing the user password from the admin view) Possible connected to #3762 ? Also, whatever goes on here might actually explain the log entry (see below).
After some further testing my assumption is that nextcloud tries to change the password using the incorrect login attribute and thus does not succeed.
Steps to reproduce
Preconditions: Make sure the cn configured on your LDAP for your users is a value with a space (eg "Firstname Lastname")
(as an extra I have also configured UUID=cn which leads to nextcloud internally replacing the spaces of the cn with underlines - further tests have shown that this configuration is not necessary to reproduce the bug)
Expected behaviour
Password change confirmation should appear and password should be changed on LDAP
Actual behaviour
Error message "Wrong password" and no change in password on LDAP server.
Server configuration
Operating system:
Debian 8.8
Web server:
Apache2
Database:
MySQL
PHP version:
5.6.30
Nextcloud version: (see Nextcloud admin page)
12.0.3
Updated from an older Nextcloud/ownCloud or fresh install:
Fresh install
Where did you install Nextcloud from:
Turnkeylinux
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using encryption: no
Are you using an external user-backend, if yes which one: LDAP
LDAP configuration (delete this part if not used)
LDAP config
Client configuration
Browser:
Vivaldi 1.12.955.48
Operating system:
Win10
Logs
Nextcloud log (data/nextcloud.log)
Nextcloud log
The text was updated successfully, but these errors were encountered: