openbmc / phosphor-webui

Web-based user interface for managing OpenBMC systems
Apache License 2.0
37 stars 25 forks source link

LDAP setup initially gives a "fake" error message #102

Closed lpanayioto closed 4 years ago

lpanayioto commented 4 years ago

LDAP setup will always give an error the first time you click save. Although if it is correct it will save the settings.

Unexpected behavior you saw After correctly entering the LDAP settings and clicking save for the first time I got an error message. Settings were still saved after refreshing. All subsequent messages will be correct.

Expected behavior Success Message when correctly entering the LDAP settings even on the first click.

To Reproduce Steps to reproduce the behavior:

  1. Navigate to LDAP settings Access Control -> LDAP

  2. Enable LDAP authentication & Open LDAP and enter LDAP settings below

  3. Save Settings

  4. Click Reset

  5. Enter Bind Password again and Save Settings

OpenBMC Information:

geissonator commented 4 years ago

@gtmills or @gkeishin any known issues in this area?

gtmills commented 4 years ago

I have not. @derick-montague

derick-montague commented 4 years ago

I am able to reproduce this. Has anything changed on the backend because this was working? The request is returning a 400 with the following message:

The value null for the property AuthenticationType is of a different type than the property can accept

I am looking into it now.