samba/samba-4.19.4-conf-enable-usershares.patch
Silvan Calarco caca509548 enable support for user shares by default and add sambashares group as expected by kde plasma
use systemd sysusers file to create groups and users [release 4.19.4-2mamba;Fri Jan 26 2024]
2024-01-27 09:56:59 +01:00

16 lines
553 B
Diff

--- 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