Project

General

Profile

Actions

Defect #44224

open

Setup LDAP Server on Github Actions

Added by Holger Just 23 days ago. Updated 18 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
LDAP
Target version:
-
Resolution:
Affected version:

Description

The functional LDAP Tests can currently not run on Github actions as indicated by the following message:

(Test LDAP server not configured)

The test LDAP server should be configured in the action runner so that the LDAP tests are run.


Files

01-acl.ldif (290 Bytes) 01-acl.ldif Marius BĂLTEANU, 2026-07-07 23:52
test-ldap-docker.ldif (728 Bytes) test-ldap-docker.ldif Marius BĂLTEANU, 2026-07-07 23:52
Actions #1

Updated by Marius BĂLTEANU 18 days ago

On my local environment, I was able to run the ldap tests against: osixia/openldap:1.3.0.

The LDAP section from my docker-compose looks like:

  ldap:
    image: osixia/openldap:1.3.0
    hostname: ldap.example.org
    environment:
      LDAP_TLS_VERIFY_CLIENT: try
      LDAP_DOMAIN: redmine.org
      LDAP_ORGANISATION: redmine.org
      LDAP_ADMIN_PASSWORD: secret
    ports:
      - 389:389
      - 636:636
    volumes:
      - ./test/fixtures/ldap/01-acl.ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom/01-acl.ldif
      - ./test/fixtures/ldap/test-ldap-docker.ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom/99-test-ldap.ldif
    command: --copy-service --loglevel debug

I've attached the configuration files.

Actions

Also available in: Atom PDF