Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Backend is lagging behind in LDAP setup and Local User creation #103

Open
lpanayioto opened this issue Dec 4, 2019 · 1 comment
Open

Comments

@lpanayioto
Copy link

Context
In the current version If there is an LDAP user with the same name as a local user, LDAP configuration will fail. And if LDAP is configured and one tries to create an user with the same name as an LDAP user the user creation will fail.

Unexpected Behavior you saw
After Configuring the LDAP server and then disabling it I can't create a new local user with the same name as an LDAP user until I create a different local user first.

Expected behavior
After disabling LDAP configuration I should be able to create a Local user with the same name as an LDAP user.

To Reproduce

  1. Login to webui
  2. Navigate to LDAP settings
  3. Enable and configure LDAP
  4. On a different tab Login and Logout with an LDAP user
  5. Disable the LDAP settings
  6. Create a local user with the same LDAP username
  7. Create a local user with a different username
  8. Repeat step 6.

Step 6 is failing, but step 8 is not

OpenBMC Information

  • /etc/os-release
    ID="openbmc-phosphor"
    NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"
    VERSION="2.8.0-dev"
    VERSION_ID="2.8.0-dev-913-g3d2621456"
    PRETTY_NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro) 2.8.0-dev"
    BUILD_ID="2.8.0-dev"
    OPENBMC_TARGET_MACHINE="s2600wf"

  • uname -a
    Linux s2600wf 5.3.11-d41fa1f not enough memory #1 Mon Nov 25 22:35:07 UTC 2019 armv6l GNU/Linux

@manojdesd
Copy link

HI @lpanayioto I don't know why this problem occurs in yours I wish I could help you with that but I am not able to configure LDAP itself.
Can you help me issue #130 ?
As I am able to see that you are able to configure LDAP connection successfully.
Thanks in advance.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants