From 463c9477c2cd95f74e033e0032e7d280c2de0184 Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Thu, 23 Oct 2025 10:14:54 +0200 Subject: [PATCH] groupware: add recipe for using ldapsearch in an Alpine container to DEVELOPER.md --- services/groupware/DEVELOPER.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/services/groupware/DEVELOPER.md b/services/groupware/DEVELOPER.md index 6501dc02f..78a415010 100644 --- a/services/groupware/DEVELOPER.md +++ b/services/groupware/DEVELOPER.md @@ -422,6 +422,19 @@ In that container, install the necessary packages to have the LDAP command-line apt-get update -y && apt-get install -y ca-certificates ldap-utils ``` +Alternatively, the same can be achieved with an Alpine container: + +```bash +docker run --network 'opencloud_full_opencloud-net' --rm \ +--name "alpine-${RANDOM}" -ti 'alpine' +``` + +And running this command instead to install the LDAP command-line tools: + +```bash +apk update && apk install openldap-clients +``` + Run the following command in that container, which should output a list of DNs of demo users: ```bash