Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot change password for admin when LDAP is enabled #1213

Closed
elfrinjo opened this issue Sep 20, 2017 · 0 comments
Closed

Cannot change password for admin when LDAP is enabled #1213

elfrinjo opened this issue Sep 20, 2017 · 0 comments

Comments

@elfrinjo
Copy link

Description
When LDAP authentication is enabled the user "admin" is still kept local as a fallback.
However, the change-password-disablement also acts on the local admin user which makes it impossible to change to password.

Steps to reproduce the issue:

  1. Activate LDAP/AD Authentication
  2. Log in as admin
  3. Click "my account"
  4. Try to change the password
    --> "You cannot change your password when using LDAP authentication."

Expected behavior
Changing the password should be possible.
The "change-password-disablement" should exclude admin

Technical details:

  • Portainer version: 1.14

  • Target Docker version (the host/cluster you manage): 1.12.6

  • Platform (windows/linux): linux

  • Command used to start Portainer:
    docker run -v /var/run/docker.sock:/var/run/docker.sock:rw -v portainer-data:/data -p 9000:9000 portainer/portainer

  • Target Swarm version (if applicable): n/a

  • Browser: Chromium

@deviantony deviantony added this to the 1.14.x milestone Sep 22, 2017
@deviantony deviantony modified the milestones: 1.14.x, 1.14.3 Sep 29, 2017
xAt0mZ pushed a commit that referenced this issue Aug 25, 2022
…n code EE-2530 (#1213)

* Fix rbac roles and defaulting of values

* default the role

* Use createorupdate role function instead

* rollback to original function - just in case
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants