trying something else...

This commit is contained in:
kakwa 2016-07-28 06:34:48 +02:00
parent 0263d52edf
commit 0f28309344
1 changed files with 5 additions and 0 deletions

View File

@ -48,6 +48,11 @@ hostname ad.ldapcherry.org
/etc/init.d/dnsmasq stop
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"
printf '' > "${smbconffile}" && \
${sambacmd} domain provision ${hostip} \