1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-10-04 19:51:39 +02:00

[ticket/16659] Adjust slapd setup for apparmor configuration

PHPBB3-16659
This commit is contained in:
Marc Alexander
2020-12-16 16:51:46 +01:00
parent 67da9e0e85
commit 2a1a22dffe
3 changed files with 8 additions and 7 deletions

View File

@@ -15,9 +15,10 @@ SLOWTESTS=$1
if [ "$SLOWTESTS" == '1' ]
then
sudo apt-get -y install ldap-utils slapd php-ldap
mkdir /tmp/slapd
slapd -f travis/ldap/slapd.conf -h ldap://localhost:3389 &
sudo apt-get -y install ldap-utils slapd
mkdir /var/tmp/slapd
cp travis/ldap/slapd.conf /var/tmp/slapd/slapd.conf
slapd -d 256 -d 128 -f /var/tmp/slapd/slapd.conf -h ldap://localhost:3389 &
sleep 3
ldapadd -h localhost:3389 -D "cn=admin,dc=example,dc=com" -w adminadmin -f travis/ldap/base.ldif
fi