Skip to content

Wrong user domain warning with many domains #8228

Closed

Description

@gsanchietti

When the cluster has more than one user domain, a module bound to only one of them prints a warning for every other domain.

Steps to reproduce

  • Set up a cluster with two user domains, example.org and example.com
  • Install NethVoice and bind it only to example.org
  • Run api-cli run module/nethvoice1/get-facts --verbose

Expected behavior

No warning about example.com. A warning should appear only when a module asks for a domain it is not bound to.

Actual behavior

This warning is printed, example:

<4>agent.ldapproxy: domain example.com should not be used by nethvoice1. Invoke agent.bind_user_domains(["example.com"]) to fix this warning.

Potential issue: the agent.ldapproxy Python library checks every configured user domain when it loads the domain list, instead of checking only the domain the module asks for.

Components

NethServer 8 core 3.22.0
See also

Activity

  1. self-assigned this
    on Oct 13, 2026
  2. added theissue type on Oct 13, 2026
  3. added this to the NethServer 8.11 milestone on Oct 13, 2026
  4. moved this from ToDo to In Progress in NethServeron Oct 13, 2026
  5. gsanchietti commented on Oct 13, 2026

    @gsanchietti
    MemberAuthor

    Testing versions: core:3.23.1-dev.3

    Clean install:

    curl https://raw.githubusercontent.com/NethServer/ns8-core/main/core/install.sh > install.sh
    bash install.sh ghcr.io/nethserver/core:latest ghcr.io/nethserver/core:3.23.1-dev.3
    

    Update an existing cluster:

    update-core ghcr.io/nethserver/core:3.23.1-dev.3
    

    Test case 1: the issue is not reproducible

    1. Set up a cluster with two user domains, example.org and example.com.
    2. Install NethVoice and bind it only to example.org.
    3. Run api-cli run module/nethvoice1/get-facts --verbose.
    4. Check that no warning about example.com appears.
  6. removed their assignment
    on Oct 13, 2026
  7. added
    testingPackages are available from testing repositories
    on Oct 13, 2026
  8. moved this from In Progress to Testing in NethServeron Oct 13, 2026
  9. DavidePrincipi commented on Oct 13, 2026

    @DavidePrincipi
    Member

    VERIFIED

  10. removed
    testingPackages are available from testing repositories
    on Oct 13, 2026
  11. moved this from Testing to Verified in NethServeron Oct 13, 2026
  12. DavidePrincipi commented on Oct 15, 2026

    @DavidePrincipi
    Member
  13. moved this from Verified to Done in NethServeron Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    verifiedAll test cases were verified successfully

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions