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

launching samba manually

This commit is contained in:
root 2015-04-14 22:34:59 +02:00
parent 876cc238f9
commit a57aa1e83e

View File

@ -47,12 +47,18 @@ mv "${targetdir}/etc/smb.conf" "${smbconffile}"
mv /var/lib/samba/private/krb5.conf /etc/krb5.conf mv /var/lib/samba/private/krb5.conf /etc/krb5.conf
sleep 5
sh -x /etc/init.d/samba start sleep 5
sh -x /etc/init.d/samba-ad-dc start if ! [ -z "$TRAVIS" ]
sh -x /etc/init.d/smbd start then
sh -x /etc/init.d/nmbd start /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
sleep 5 sleep 5