1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-06-16 07:39:51 +02:00

trying something else...

This commit is contained in:
kakwa 2016-07-28 06:34:48 +02:00
parent 0263d52edf
commit 0f28309344

View File

@ -48,6 +48,11 @@ hostname ad.ldapcherry.org
/etc/init.d/dnsmasq stop /etc/init.d/dnsmasq stop
pkill -9 dnsmasq pkill -9 dnsmasq
kill -9 `cat /var/run/samba/smbd.pid`
rm -f /var/run/samba/smbd.pid
kill -9 `cat /var/run/samba/nmbd.pid`
rm -f /var/run/samba/nmbd.pid
echo "deploy AD" echo "deploy AD"
printf '' > "${smbconffile}" && \ printf '' > "${smbconffile}" && \
${sambacmd} domain provision ${hostip} \ ${sambacmd} domain provision ${hostip} \