mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-22 09:24:21 +01:00
fix restart of samba in test env
This commit is contained in:
parent
5f1074bb26
commit
cf91e69eba
@ -47,16 +47,11 @@ mv /var/lib/samba/private/krb5.conf /etc/krb5.conf
|
||||
|
||||
|
||||
sleep 5
|
||||
if ! [ -z "$TRAVIS" ]
|
||||
then
|
||||
/usr/sbin/samba -D -s /etc/samba/smb.conf
|
||||
# /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
|
||||
else
|
||||
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
|
||||
|
||||
#sh -x /etc/init.d/samba restart
|
||||
/etc/init.d/samba-ad-dc restart
|
||||
#sh -x /etc/init.d/smbd restart
|
||||
#sh -x /etc/init.d/nmbd restart
|
||||
|
||||
sleep 5
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user