Skip to content

Managing primary group does not work as intended #865

@Luci2015

Description

@Luci2015

Description
Managing primary group does not work as intended

Steps to reproduce

  • Set up UST for Sign sync
  • arrive at the situation where an account is member of multiple groups in Sign, for example g1, g2 and g3, where g3 is the current primary group
  • set up the next sync so that in local LDAP the acct is not member of g3 anymore
  • Result: UST notes that the acct should be removed in its log, but actually nothing happens because of a coding logic inside the resolvePrimaryGroupAndGroupAdminState -> resolve_primary_group function

Expected behavior
the group removal should happen and with it the primary group should be recalculated for the remaining groups, based on the mapping decided in the config file.

Environment

  • UST version: 2.11
  • OS type and version: all

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions