Skip to content

Commit 99d23a4

Browse files
committed
fix: Ensure samba is started in kerberos tests
Signed-off-by: Marcel Müller <[email protected]>
1 parent 3cf7b8d commit 99d23a4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/files_external/tests/sso-setup/start-apache.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ APACHE_IP=$(docker inspect apache --format '{{.NetworkSettings.IPAddress}}')
1515
docker exec apache chown 33 /var/www/html/config /var/www/html/data /var/www/html/extra-apps
1616
docker cp "$SCRIPT_DIR/apps.config.php" apache:/var/www/html/config/apps.config.php
1717

18+
# ensure that samba is started (see https://github.com/icewind1991/samba-krb-test/pull/8)
19+
docker exec dc service samba-ad-dc status || docker exec dc service samba-ad-dc start
20+
1821
# add the dns record for apache
1922
docker exec dc samba-tool dns add krb.domain.test domain.test httpd A $APACHE_IP -U administrator --password=passwOrd1 1>&2
2023

0 commit comments

Comments
 (0)