Actions
Defect #44224
openSetup LDAP Server on Github Actions
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
Updated by Marius BĂLTEANU about 1 month ago
- File 01-acl.ldif 01-acl.ldif added
- File test-ldap-docker.ldif test-ldap-docker.ldif added
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