2 Commits

Author SHA1 Message Date
d5405f3bba
fix: handle first-time syncrepl configuration
All checks were successful
CI Pipeline / lint (push) Successful in 28s
CI Pipeline / build (push) Successful in 1m12s
CI Pipeline / test (push) Successful in 1m8s
CI Pipeline / security-scan (push) Successful in 1m38s
CI Pipeline / autotag (push) Successful in 24s
CI Pipeline / push (push) Successful in 21s
CI Pipeline / update-cd (push) Successful in 15s
Check if olcSyncRepl and olcMirrorMode attributes exist before
deciding whether to use 'add' or 'replace' operation. Previously
the script always used 'replace' which fails on first-time setup
when the attributes don't exist yet.
2025-12-28 01:00:33 +01:00
1b24516663
feat: add multi-master replication support
Some checks failed
CI Pipeline / lint (push) Successful in 20s
CI Pipeline / build (push) Successful in 56s
CI Pipeline / test (push) Failing after 1m32s
CI Pipeline / security-scan (push) Successful in 1m21s
CI Pipeline / autotag (push) Has been skipped
CI Pipeline / push (push) Has been skipped
CI Pipeline / update-cd (push) Has been skipped
- Add syncprov module to init-config.sh
- Create init-replication.sh for configuring N-way multi-master
- Update entrypoint to handle replication configuration
- Support LDAP_REPLICATION_ENABLED, LDAP_SERVER_ID, LDAP_REPLICATION_HOSTS
- Replica servers can sync DIT from existing masters
2025-12-26 03:57:31 +01:00