After configuring LDAP, an error is seen on the dashboard.
The error shown is as follows:
load compose config: build compose yaml: template: compose spec:100:260: executing "compose spec" at : error calling index: reflect: slice index out of range
Additionally, LDAP users are unable to log in to the application.
Inspecting the user profile shows there is no Onprem LDAP Username field available to configure, as if LDAP was not enabled.
Release : 2.0+
Component : AGILE CENTRAL ON PREMISES
This is caused by not including (&(objectclass=person)(sAMAccountName={{username}}) in the Restricted User Group Query field in the LDAP configuration section.
Rework the Restricted User Group Query field to include (&(objectclass=person)(sAMAccountName={{username}}).
For example:
(&(objectclass=person)(sAMAccountName={{username}})(memberOf=CN=Rally,CN=Users,DC=rallyonprem,DC=local))
It may be necessary to restart the services appliance after this operation