From 5ed57fc1e9efb57e9ebfac2de28372f83a130112 Mon Sep 17 00:00:00 2001 From: Kapdap Date: Wed, 13 Nov 2024 22:04:55 +1300 Subject: [PATCH] dns forwarder loop bug fix by aczwink https://github.com/Fmstrat/samba-domain/pull/53 --- init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.sh b/init.sh index 4d9c85d..b4939b0 100755 --- a/init.sh +++ b/init.sh @@ -80,7 +80,7 @@ appSetup () { " /etc/samba/smb.conf fi if [[ ${INSECURELDAP,,} == "true" ]]; then - sed -i "/\[global\]/a \ + sed -i "/dns forwarder =/c \ \\\tldap server require strong auth = no\ " /etc/samba/smb.conf fi