Skip to content

Domain level ldap server configuration is not displayed #3686

@borisstoyanov

Description

@borisstoyanov
ISSUE TYPE
  • Bug Report
COMPONENT NAME
UI
CLOUDSTACK VERSION
4.14
SUMMARY

Configure LDAP at a domain level and you won't be able to see this configuration anywhere in the UI, at Global Setting -> LDAP it's being displayed only root domain level configurations

Looks like list api is dependent on the domainid, and if no domain id is passed it ignores the results.

(localcloud) SBCM5> > add ldapconfiguration hostname=10.1.2.5 port=389 domainid=7cc39a93-a6a7-423c-b150-50f63b8765d6
{
  "LdapAddConfiguration": {
    "domainid": "7cc39a93-a6a7-423c-b150-50f63b8765d6",
    "hostname": "10.1.2.5",
    "port": 389
  }
}
(localcloud) SBCM5> > list ldapconfigurations
(localcloud) SBCM5> > list ldapconfigurations domainid=7cc39a93-a6a7-423c-b150-50f63b8765d6
{
  "LdapConfiguration": [
    {
      "domainid": "7cc39a93-a6a7-423c-b150-50f63b8765d6",
      "hostname": "10.1.2.5",
      "port": 389
    }
  ],
  "count": 1
}

Uploading Screenshot 2019-11-14 at 12.52.50.png…

EXPECTED RESULTS
As an admin I would like to see all level of configurations
ACTUAL RESULTS
Not being listed

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions