Skip to content

Commit 0a06a6f

Browse files
committed
groupware: docs: add a quick copy-pastable block for running ldapsearch
1 parent d39b994 commit 0a06a6f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

services/groupware/DEVELOPER.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,13 @@ docker run --network 'opencloud_full_opencloud-net' --rm -ti alpine:3 \
615615
/bin/sh -c "apk update && apk add openldap-clients && exec /bin/sh -il"
616616
```
617617

618+
Or, to combine it directly with the `ldapsearch` command:
619+
620+
```bash
621+
docker run --network 'opencloud_full_opencloud-net' --rm alpine \
622+
/bin/sh -c "apk update -q && apk add -q openldap-clients && LDAPTLS_REQCERT=never ldapsearch -H 'ldaps://opencloud:9235' -D 'uid=reva,ou=sysusers,o=libregraph-idm' -x -w 'admin' -b 'o=libregraph-idm' -LLL '(objectClass=person)' dn"
623+
```
624+
618625
### Testing Keycloak
619626

620627
> [!NOTE]

0 commit comments

Comments
 (0)