trying to stop dnsmasq (to use samba internal)

This commit is contained in:
kakwa 2016-07-27 21:10:02 +02:00
parent 9b3d232503
commit ca974ab801
1 changed files with 2 additions and 1 deletions

View File

@ -38,13 +38,14 @@ find /var/log/samba/ -type f -exec rm -f {} \;
smbconffile=/etc/samba/smb.conf
domain=dc
realm=dc.ldapcherry.org
sambadns=NONE
sambadns=SAMBA_INTERNAL
targetdir=/var/lib/samba/
role=dc
sambacmd=samba-tool
adpass=qwertyP455
hostname $realm
/etc/init.d/dnsmasq stop
echo "deploy AD"
printf '' > "${smbconffile}" && \