mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Valera V Harseko
4 days ago de3526645a13633ef6779dfb281255f9f3641fca
refs
author Valera V Harseko <vharseko@3a-systems.ru>
Monday, June 22, 2026 18:18 +0200
committer Valera V Harseko <vharseko@3a-systems.ru>
Monday, June 22, 2026 18:18 +0200
commitde3526645a13633ef6779dfb281255f9f3641fca
tree 540ae7d6d0412e437b30de6dcf901801b5045879 tree | zip | gz
parent 736c83dc1c71b19abc0554b7df10ec0dc117cc84 view | diff
Benchmark: migrate OpenLDAP to vegardit (2.6), hash with {SSHA}

Switch the OpenLDAP side from osixia/openldap (OpenLDAP 2.4.57, unmaintained) to
vegardit/docker-openldap (OpenLDAP 2.6.10).

- Adapt the setup to vegardit's interface: `LDAP_INIT_ORG_DN`,
`LDAP_INIT_ROOT_USER_DN` (override to `cn=admin,<base>`), `LDAP_INIT_ROOT_USER_PW`,
disable TLS/LDAPS, and neutralize the image's built-in ppolicy friction
(lockout, pqChecker, min length) for the benchmark.
- vegardit ships no SHA-2 module, so use `{SSHA}` (Salted SHA-1) instead of
`{SSHA256}`: it is OpenLDAP core and a built-in OpenDJ scheme, so both servers
still hash identically. Set `olcPasswordHash {SSHA}` and enable hash-cleartext on
vegardit's already-loaded ppolicy overlay (no module load or restart needed);
set OpenDJ's default storage scheme to Salted SHA-1. cn=config edits go via
EXTERNAL over ldapi as root.
- `mail` is still equality-indexed by default on vegardit (`uid,mail`), so the
indexed SEARCH-on-mail comparison remains fair.
3 files modified
59 ■■■■ changed files
.github/benchmark/benchmark.jmx 2 ●●● diff | view | raw | blame | history
.github/benchmark/summary.sh 4 ●●●● diff | view | raw | blame | history
.github/workflows/benchmark.yml 53 ●●●● diff | view | raw | blame | history