From 1f641814b2bfbbf2dc3347e11a3fe901bfdf1efc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 18:35:33 +0200 Subject: Adding debian version 2.5.13+dfsg-5. Signed-off-by: Daniel Baumann --- debian/tests/slapd | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 debian/tests/slapd (limited to 'debian/tests/slapd') diff --git a/debian/tests/slapd b/debian/tests/slapd new file mode 100755 index 0000000..d79e225 --- /dev/null +++ b/debian/tests/slapd @@ -0,0 +1,15 @@ +#!/bin/sh +set -eux + +export DEBIAN_FRONTEND=noninteractive + +debconf-set-selections << eof +slapd slapd/password1 password secret +slapd slapd/password2 password secret +slapd slapd/domain string example.com +slapd slapd/organization string example.com +eof + +apt-get -y install slapd + +test "$(ldapwhoami -x -D 'cn=admin,dc=example,dc=com' -w secret)" = 'dn:cn=admin,dc=example,dc=com' -- cgit v1.2.3