samba/samba-4.19.4-conf-enable-usershares.patch

16 lines
553 B
Diff
Raw Permalink Normal View History

--- samba-4.19.4/examples/smb.conf.default.orig 2024-01-26 18:01:53.376647291 +0100
+++ samba-4.19.4/examples/smb.conf.default 2024-01-26 18:05:15.617045920 +0100
@@ -112,6 +112,12 @@
idmap config * : backend = tdb
idmap config * : range = 3000-7999
+# Enable support for user configurable shares
+usershare path = /var/lib/samba/usershares
+usershare max shares = 100
+usershare allow guests = yes
+usershare owner only = yes
+
#============================ Share Definitions ==============================
[homes]
comment = Home Directories