Skip to content

fix(enterprise): ldap get-config command hangs/times out #319

@joshrotenberg

Description

@joshrotenberg

Problem

The enterprise ldap get-config command hangs and eventually times out.

Steps to Reproduce

redisctl enterprise ldap get-config

# Command hangs indefinitely or times out

Expected Behavior

Should return the LDAP configuration for the cluster (even if empty/not configured).

Likely Causes

  1. Incorrect endpoint path
  2. Handler trying to access non-existent endpoint
  3. LDAP endpoints might require specific cluster configuration

Investigation Needed

  • Verify the correct endpoint path: /v1/cluster/ldap or /v1/ldap
  • Test with raw API: redisctl api enterprise get /v1/cluster/ldap
  • Check if LDAP endpoints are only available when LDAP is configured

Acceptance Criteria

  • Command returns LDAP config or appropriate "not configured" message
  • Doesn't hang or timeout
  • Add integration test for this command

Part of #315

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions