mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-25 10:44:30 +01:00
trying to stop dnsmasq (to use samba internal)
This commit is contained in:
parent
9b3d232503
commit
ca974ab801
@ -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}" && \
|
||||||
|
Loading…
Reference in New Issue
Block a user