From 3948bcffa973f258df761709aa58fce9b20a7c83 Mon Sep 17 00:00:00 2001 From: Andrew Mirsky Date: Tue, 5 Aug 2025 19:48:01 -0400 Subject: [PATCH] adding openldap dependencies --- .github/workflows/ci.yml | 6 ++++++ tests/fixtures/ldap/ldap/bootstrap.ldif | 13 +++---------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d14cf1..3f88a91 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,9 @@ jobs: cache-local-path: ${{ env.UV_CACHE_DIR }} python-version: "3.13" + - name: install openldap dependencies + run: apt install -y libldap2-dev libsasl2-dev + - name: 🏗 Install the project run: uv sync --locked --dev --extra contrib @@ -68,6 +71,9 @@ jobs: cache-local-path: ${{ env.UV_CACHE_DIR }} python-version: ${{ matrix.python-version }} + - name: install openldap dependencies + run: apt install -y libldap2-dev libsasl2-dev + - name: 🏗 Install the project run: uv sync --locked --dev --extra contrib diff --git a/tests/fixtures/ldap/ldap/bootstrap.ldif b/tests/fixtures/ldap/ldap/bootstrap.ldif index 5ae9e3d..93e095d 100644 --- a/tests/fixtures/ldap/ldap/bootstrap.ldif +++ b/tests/fixtures/ldap/ldap/bootstrap.ldif @@ -1,3 +1,6 @@ + + + # admin user dn: cn=admin,dc=amqtt,dc=io changetype: add @@ -13,16 +16,6 @@ changetype: add objectClass: organizationalUnit ou: IT -# user: John Doe for unit IT department -dn: uid=johndoe,ou=IT,dc=amqtt,dc=io -changetype: add -objectClass: inetOrgPerson -cn: John Doe -sn: Doe -uid: johndoe -mail: johndoe@amqtt.io -userPassword: password123 - # user: Alpha Beta for unit IT department dn: uid=alpha.beta,ou=IT,dc=amqtt,dc=io changetype: add