From patchwork Tue Oct 13 16:07:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 3533 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4C9gSr0SN7z3x3M for ; Tue, 13 Oct 2020 16:08:28 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4C9gSk0xTfz1Gc; Tue, 13 Oct 2020 16:08:22 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4C9gSh5bvMz304c; Tue, 13 Oct 2020 16:08:20 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4C9gSf2TfGz2xZt for ; Tue, 13 Oct 2020 16:08:18 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 4C9gSf1SZ1zvc; Tue, 13 Oct 2020 16:08:18 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1602605298; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pgM4Jjz/wJn8UYAJL5cpYnNhHQBRCLQaeqHrqyWkeQs=; b=O/dgEF9PvATd6GSr7XhKei4bbwxHn8R3p8g5WC8Snv8R2mey6UKLFOri1HktqukxfIyZJe H6guFOGWfhYZT4Cw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1602605298; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pgM4Jjz/wJn8UYAJL5cpYnNhHQBRCLQaeqHrqyWkeQs=; b=wS+teYhixwurS71FdtRxWAjRa47HrxgT5KxcBMiLs8rzHIaFeFXNHq9vrMF5D75QudzKMR o7XivpL9QFuWDEL3KL/5vOUNib5tMHdzAhNal790qHlVWOVX15p/GOnpuuw3mvFeBMwePk ufspqoZqHicjIJQ/PYJH+ihiuB9v7M4NiOJdLbkPufRPAkf80rEKwdxAVXYltnHPnC4eC6 iuwYOoHvvUbyzmZZrkeIVE/xykXcW4MWGlIm7lgFuIhy6eTntER/3XMgKWx/TRzhsHDtE3 2uyMuRqWyhywuWfmuOkRUupJ2qkRlu+U4uhLlDrcNZDaB3xfY0iTd4vWFhtIcg== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 07/54] samba: Update SECURITY option in settings, too Date: Tue, 13 Oct 2020 16:07:25 +0000 Message-Id: <20201013160812.27754-7-michael.tremer@ipfire.org> In-Reply-To: <20201013160812.27754-1-michael.tremer@ipfire.org> References: <20201013160812.27754-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- src/paks/samba/install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/paks/samba/install.sh b/src/paks/samba/install.sh index 7b81be7c1..1cd6a1156 100644 --- a/src/paks/samba/install.sh +++ b/src/paks/samba/install.sh @@ -40,5 +40,8 @@ sed -i /var/ipfire/samba/smb.conf \ -e "/^syslog/d" \ -e "s/^security = share$/security = user/" +sed -i /var/ipfire/samba/settings \ + -e "s/^SECURITY=share/SECURITY=user/" + # Start the service /usr/local/bin/sambactrl smbstart