export LDAPICO_TEST_LDAP_SERVER=ldap://127.0.0.1:1389/
ldap-run:
docker run \
--name openldap \
-e ALLOW_EMPTY_PASSWORD=yes \
-e LDAP_ROOT="dc=example,dc=org" \
-e LDAP_ADMIN_USERNAME="ldapico" \
-e LDAP_ADMIN_PASSWORD="ldapico" \
-e LDAP_USERS="user1,user2" \
-e LDAP_PASSWORDS="pwd1,pwd2" \
-e LDAP_USER_DC="users" \
-e LDAP_GROUP="users" \
-p 1389:1389 \
-d \
bitnami/openldap:latest
tests-run:
cargo clippy
cargo test