From ddf690c3b8ef25de5845b2cbad6250efc7db536a Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 3 Apr 2023 23:31:58 -0400
Subject: linhes-templates: smb.conf.template: add interface

---
 linhes/linhes-templates/PKGBUILD                    | 4 ++--
 linhes/linhes-templates/templates/smb.conf.template | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/linhes/linhes-templates/PKGBUILD b/linhes/linhes-templates/PKGBUILD
index c4cbd7a..c88006c 100644
--- a/linhes/linhes-templates/PKGBUILD
+++ b/linhes/linhes-templates/PKGBUILD
@@ -1,13 +1,13 @@
 pkgname=linhes-templates
 pkgver=9.0.0
-pkgrel=12
+pkgrel=13
 conflicts=()
 pkgdesc="Templates used for LinHES system configuration"
 depends=()
 makedepends=()
 arch=('x86_64')
 source=(templates.tar.gz)
-sha256sums=('b32082c60c26151d188ea0a8c9fe0d4194f41dadabd579fdaa6a1f9eb08523bc')
+sha256sums=('18e4250603d3efd7f1a9cc6fee8ac7ff9825d5ce62b6c6afc325f50a4901fc2e')
 
 package() {
     MVDIR=$pkgdir/usr/share/linhes
diff --git a/linhes/linhes-templates/templates/smb.conf.template b/linhes/linhes-templates/templates/smb.conf.template
index a719dccd..b134f7b 100644
--- a/linhes/linhes-templates/templates/smb.conf.template
+++ b/linhes/linhes-templates/templates/smb.conf.template
@@ -18,6 +18,9 @@
 
    server string = LinHES
 
+   interfaces = 192.168.0.0/16
+   bind interfaces only = yes
+
 # This option is important for security. It allows you to restrict
 # connections to machines which are on your local network. The
 # following example restricts access to two C class networks and
-- 
cgit v0.12

