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

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

View File

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