Skip to content

Feat: Add configurable LDAP group member attribute and single-run mode (#29)#30

Open
LorenzoGParisi wants to merge 1 commit intoalan-turing-institute:mainfrom
LorenzoGParisi:feature/issue-29
Open

Feat: Add configurable LDAP group member attribute and single-run mode (#29)#30
LorenzoGParisi wants to merge 1 commit intoalan-turing-institute:mainfrom
LorenzoGParisi:feature/issue-29

Conversation

@LorenzoGParisi
Copy link
Copy Markdown

Overview

This PR addresses the limitations identified in #29 regarding LDAP compatibility and process lifecycle control.

Changes

  • Single-Run Mode: Introduced a SINGLE_RUN_MODE environment variable. When set to true, the synchronizer performs one full cycle (LDAP to PostgreSQL) and exits. This is specifically designed for kubernetes cronjobs.
  • Configurable LDAP Group Attribute: Replaced the hardcoded memberUid with a new environment variable LDAP_GROUP_MEMBER_ATTR. This enables compatibility with different directory structures like FreeIPA. The default value maintains backward compatibility with existing setups.

Closes #29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhancement: Add configurable LDAP group member attribute and single-run mode

1 participant