From d25ceef2d3c92b4349cbaec2a12ced519bb714ca Mon Sep 17 00:00:00 2001 From: kakwa Date: Thu, 7 Feb 2019 23:46:10 +0100 Subject: [PATCH] trying to fix samba/AD setup --- tests/test_env/deploy.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/test_env/deploy.sh b/tests/test_env/deploy.sh index c37f642..c2f748f 100755 --- a/tests/test_env/deploy.sh +++ b/tests/test_env/deploy.sh @@ -70,13 +70,14 @@ cat ${smbconffile} mv /var/lib/samba/private/krb5.conf /etc/krb5.conf -sleep 5 +sleep 15 -systemctl start samba-ad-dc -/etc/init.d/samba-ad-dc start +systemctl restart samba-ad-dc +/etc/init.d/samba-ad-dc restart cat /var/log/samba/* sleep 5 +systemctl status samba-ad-dc ss -apn | grep samba