about summary refs log tree commit diff
path: root/bundles/smb/files/smb.conf
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2025-09-07 17:32:13 +0200
committerRobert Günzler <r@gnzler.io>2025-09-07 17:42:42 +0200
commit38be6c13f76e893cf47636257071b440dec0c5b2 (patch)
treef7ded3235a7e3362cbd1ed3d91523968fe0faf90 /bundles/smb/files/smb.conf
initial commit
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'bundles/smb/files/smb.conf')
-rw-r--r--bundles/smb/files/smb.conf39
1 files changed, 39 insertions, 0 deletions
diff --git a/bundles/smb/files/smb.conf b/bundles/smb/files/smb.conf
new file mode 100644
index 0000000..12c79e2
--- /dev/null
+++ b/bundles/smb/files/smb.conf
@@ -0,0 +1,39 @@
+[global]
+        security = user
+        server min protocol = SMB2
+
+        # disable printing services
+        load printers = no
+        printing = bsd
+        printcap name = /dev/null
+        disable spoolss = yes
+
+[scratch]
+        path = /storage/scratch
+        comment = Shared
+        valid users = @smb
+        browseable = yes
+        writable = yes
+        read only = no
+        force user = root
+        force group = root
+
+[hayasui]
+        path = /storage/hayasui
+        comment = Shared
+        valid users = @smb
+        browseable = yes
+        writable = yes
+        read only = no
+        force user = root
+        force group = root
+
+# [bigdump]
+#         path = /storage/bigdump
+#         comment = Shared
+#         valid users = robert
+#         browseable = yes
+#         writable = yes
+#         read only = no
+#         force user = root
+#         force group = root