Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.
This repository was 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

@lpanayioto

Description

@lpanayioto

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions