UI fails to retrieve Authentication Profile objects
search cancel

UI fails to retrieve Authentication Profile objects

book

Article ID: 319950

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:
Within NSX-ALB UI (user interface) portal, when trying to edit any existing auth profile, you'll see the following behavior:

image.png

From the developer tools you can see the following errors: “TypeError: this.ldap.config.user_bind is undefined.”

image.png


Affected version: 22.1.3

Cause

This normally happens when configuring profile from CLI (controller shell) and not providing user_bind value which is necessary as the UI for LDAP auth profile becomes non-functional if this is not present.

Resolution

The fix for this bug is introduced in the following versions:
  • 22.1.3-2p6
  • 22.1.4
  • 30.1.1
  • 30.2.1


Workaround:
To work around this issue, we can fix the user_bind field through API/CLI and post that UI will work fine.
The steps to do it from CLI:
[admin:controller]: > configure authprofile ldap-profile
[admin:controller]: authprofile> ldap
[admin:controller]: authprofile:ldap> user_bind
[admin:controller]: authprofile:ldap:user_bind> token <user>
You don't need to replace the token <user> with any other value.