Commit Graph
193 Commits
Author SHA1 Message Date
Bertrand GounyandClaude Opus 5.5 e50450d74d fix(restore): roll back to the previous data when the restore fails
openldap-ctl restore --force deleted existing config and data before
loading the backup: a failing slapadd left OpenLDAP stopped with empty or
partial databases. Existing data is now moved to a hidden
.restore-previous directory in the same volume, removed when the restore
succeeds, and put back otherwise. OpenLDAP is restarted in both cases if
it was running. A leftover .restore-previous directory from an
interrupted restore blocks the next restore.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 21:25:20 +02:00
Bertrand GounyandClaude Opus 5.5 8660345710 fix(replication): quote syncrepl credentials and reject double quotes
The replication password was not quoted in olcSyncRepl: a password with
spaces made the bootstrap fail. The default sync repl template now quotes
credentials. slapd can not store an escaped double quote followed by a
space in olcSyncRepl, so passwords with double quotes are rejected with an
explicit error.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 21:12:58 +02:00
Bertrand GounyandClaude Opus 5.5 8c6617e0d2 fix(backup): limit --clean to backup files and add --clean-prefix
openldap-ctl backup --clean removed every file older than N days in the
backup directory, including manual and pre-upgrade backups. It now only
removes backup files, and --clean-prefix limits it to backups starting
with a prefix.

Cron backups are named openldap-cron-<date>-<version> and cleaned with
--clean-prefix openldap-cron-.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 20:58:36 +02:00
Bertrand GounyandClaude Opus 5.5 52230d6cd7 feat: update to osixia/baseimage 2.0.0 and add integration tests
- Update the base image to osixia/baseimage:alpine-2.0.0 and build the
  CI/CD tool with osixia/dagger-build (Go 1.26.9).
- Add Dagger integration tests: default bootstrap, alternative schemas,
  all compatible modules and schemas with every bootstrap feature on a
  3-node replicated cluster with TLS required, backup/restore, simulated
  upgrade and upgrade from previous releases.
- Fix bootstrap failing with "Argument list too long" with large schemas:
  load them with LDIF include: lines, fail on missing schemas.
- Default OPENLDAP_BOOTSTRAP_PPOLICY_DEFAULT_CHECK_QUALITY to 1 so
  pwdMinLength is enforced.
- Align the CI workflow with osixia/container-baseimage and add Dependabot.
- Document available schemas and modules and their incompatibilities.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 20:37:20 +02:00
Bertrand Gouny d7c4500b2c docs: udate default values 2026-10-13 23:08:07 +02:00
Bertrand Gouny 7ce0c43309 feat: add Postfix Book schema and improve diagnostics
Add the Postfix Book schema in .schema and cn=config LDIF formats, document its incompatibility with virtualMail, and improve debug output and validation during schema conversion and file moves. Update the base image to osixia/baseimage:alpine-2.0.0-rc3 and document the changes for 2.6.15-beta.
2026-10-13 22:06:15 +02:00
Bertrand Gouny c62c5f11da feat: OpenLDAP v2.6.15 2026-10-07 21:53:52 +02:00
Bertrand Gouny 5bd37272a7 feat: OpenLDAP v2.6.10 2026-10-07 21:50:54 +02:00
Bertrand c97bcba5c3 Update README.md 2026-04-03 11:43:16 +02:00
Bertrand Gouny 1ee0cf75ad docs: changelog + readme 2021-02-19 13:23:51 +01:00
Bertrand Gouny 80b9afb242 Merge branch 'timgates42-bugfix_typos' into release-1.5.0 2021-02-19 12:58:52 +01:00
Tim Gates 9cb2413dff Fix a few small typos 2021-02-19 08:57:04 +11:00
Bertrand Gouny 135f4ecb6f Merge branch 'dbck-gitlab-ci-service-seeding' into release-1.5.0 2021-02-18 15:56:20 +01:00
Bertrand Gouny 5253671c16 feat: add slapd package version 2021-02-18 14:34:53 +01:00
Bertrand Gouny 1939b9ebfa docs: v1.5.0 2021-02-14 13:55:13 +01:00
0xflotus 899922d655 fixed yaml formatting
and fixed small error, sorry no new kickass feature 😄
2021-01-07 21:59:14 +01:00
Bertrand 2424fc0304 Merge pull request #466 from zicklag/patch-1
Add Note About Read-only User Password
2021-01-05 17:01:05 +01:00
William Desportes 9ce7ba0d3f Improved the README.md 2020-12-05 21:36:13 +01:00
Zicklag c1415c1f39 Add Note About Read-only User Password
Add note indicating that the read-only user account can write
its own password.
2020-09-01 11:44:19 -05:00
Bertrand Gouny 23c26edc9e v1.4.0 2020-06-15 16:24:37 +02:00
Bertrand Gouny 2bd5d31704 Merge branch 'lj020326-feature-enable-runtime-uidgid' into release-1.4.0 2020-06-15 15:53:16 +02:00
Bertrand Gouny 9d66f5460d Merge branch 'BirkhoffLee-patch-1' into release-1.4.0 2020-06-15 15:14:17 +02:00
lj020326 c6844f6242 Update README.md 2020-06-02 17:40:15 -04:00
Dennis Boeckmann e0dbde9e7c Added usage of certificates from internal path 2020-03-23 23:34:27 +01:00
Birkhoff Lee ddf8d0cd35 README: Apply the firewall rules immediately 2020-01-07 17:25:18 +08:00
Birkhoff Lee 0aff625d33 Address firewall issues on RHEL in README 2020-01-07 16:23:32 +08:00
Dennis Boeckmann 1d7c633a54 Added seeding from internal path. 2019-10-04 16:34:42 +02:00
Bertrand Gouny ba9acdc2f2 v1.3.0 2019-08-16 11:51:10 +02:00
Bertrand Gouny 5e10294f98 v1.2.5 2019-08-16 10:46:09 +02:00
Bertrand Gouny 95f50ce60c bats link 2019-08-01 14:28:58 +02:00
Bertrand Gouny 86b83760c8 Add DISABLE_CHOWN environment variable #240 2019-07-07 22:37:00 +02:00
Bertrand Gouny fafaf25330 Merge branch 'anagno-stable' into hotfix-1.2.5 2019-06-10 12:31:36 +02:00
Bertrand Gouny c3c2c47f95 Merge branch 'turcan-startup.sh--ldap_add_or_modify--log-helper-fix' into hotfix-1.2.5 2019-06-10 12:26:06 +02:00
Bertrand Gouny 2b4bd3be71 v1.2.5-dev 2019-06-10 12:23:59 +02:00
anagno d56054234a Adding the possibility of reading environmental variables from files
An alternative to passing sensitive information via environmental
variables is the use of the docker secrets. For that reason if a
variable is appendend with _FILE now it will be read from a file instead.
2019-06-01 19:21:14 +02:00
gberaudo 28393e9861 Fix readme typos 2019-03-18 10:59:18 +01:00
Bertrand Gouny c04df42c17 v1.2.4 2019-03-14 09:54:08 +01:00
Bertrand Gouny 777d6f10fe Excessive RAM usage on 1.2.2, increased 10x from 1.2.1 #242 2019-02-07 16:44:24 +01:00
Bertrand Gouny 856bde3825 v1.2.3 2019-01-21 22:48:19 +01:00
Bertrand Gouny b224056da9 Merge branch 'butonic-patch-1' into release-1.2.3 2019-01-21 22:22:23 +01:00
Jörn Friedrich Dreyer adc6dfb3b5 fix ldaps port numbers
689 -> 636
2019-01-16 21:26:30 +01:00
Bertrand Gouny b25e0a50d3 Merge branch 'fbartels-ldap_domain' into release-1.2.3 2018-12-13 18:39:36 +01:00
Felix Bartels 9d7b166a52 add the ability to seed ldap domain
fixes https://github.com/zokradonh/kopano-docker/issues/45

Signed-off-by: Felix Bartels <felix@host-consultants.de>
2018-12-03 20:15:33 +01:00
Bertrand Gouny 394a1a0efc Merge branch 'stable' into release-1.2.3 2018-11-13 15:34:56 +01:00
Bertrand Gouny bf4567b27c Merge branch 'bjozet-dhparam-env' into release-1.2.3 2018-11-13 15:30:17 +01:00
dawnstrider 2a5b02bc32 Added information about prt mapping 2018-11-12 23:30:19 +01:00
Björn Zettergren 50a17e336d Enable custom dhparam.pem via environment.
Added simple doc, example and test.
2018-10-23 13:27:21 +02:00
Bertrand Gouny 56fa3505f5 changelog 2018-09-29 11:59:13 +02:00
Bertrand Gouny e6e8b9075b init v1.2.3 2018-09-29 11:39:00 +02:00
Bertrand Gouny d22ac3b4aa Merge branch 'ashanaakh-fix-lidf-typo' into hotfix-1.2.2 2018-05-15 09:51:35 +02:00