1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-22 17:34:21 +01:00

fix restart of samba in test env

This commit is contained in:
kakwa 2016-06-17 08:09:44 +02:00
parent 5f1074bb26
commit cf91e69eba

View File

@ -47,16 +47,11 @@ mv /var/lib/samba/private/krb5.conf /etc/krb5.conf
sleep 5 sleep 5
if ! [ -z "$TRAVIS" ]
then #sh -x /etc/init.d/samba restart
/usr/sbin/samba -D -s /etc/samba/smb.conf /etc/init.d/samba-ad-dc restart
# /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground #sh -x /etc/init.d/smbd restart
else #sh -x /etc/init.d/nmbd restart
sh -x /etc/init.d/samba start
sh -x /etc/init.d/samba-ad-dc start
sh -x /etc/init.d/smbd start
sh -x /etc/init.d/nmbd start
fi
sleep 5 sleep 5