diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:20:02 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:20:02 +0000 |
commit | 0a354ad0b2c9eaaa204c31db478da109dc6d2a8b (patch) | |
tree | 2467caa8ad20a7fca31bef64224e41a4238db0c9 /debian/smb.conf.ubuntu.diff | |
parent | Adding upstream version 2:4.20.0+dfsg. (diff) | |
download | samba-0a354ad0b2c9eaaa204c31db478da109dc6d2a8b.tar.xz samba-0a354ad0b2c9eaaa204c31db478da109dc6d2a8b.zip |
Adding debian version 2:4.20.0+dfsg-1~exp1.debian/2%4.20.0+dfsg-1_exp1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/smb.conf.ubuntu.diff')
-rw-r--r-- | debian/smb.conf.ubuntu.diff | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/debian/smb.conf.ubuntu.diff b/debian/smb.conf.ubuntu.diff new file mode 100644 index 0000000..c66aded --- /dev/null +++ b/debian/smb.conf.ubuntu.diff @@ -0,0 +1,55 @@ +Subject: ubuntu changes for smb.conf + ++ Add "(Samba, Ubuntu)" to server string. ++ Comment out the default [homes] share, and add a comment about + "valid users = %s" to show users how to restrict access to + \\server\username to only username. +* Comment out "read only = yes" for a few standard shares. + +diff --git a/debian/smb.conf b/debian/smb.conf +index 37fafb27398..385197abee9 100644 +--- a/debian/smb.conf ++++ b/debian/smb.conf +@@ -30,2 +30,5 @@ + ++# server string is the equivalent of the NT Description field ++ server string = %h server (Samba, Ubuntu) ++ + #### Networking #### +@@ -168,5 +171,8 @@ + +-[homes] +- comment = Home Directories +- browseable = no ++# Un-comment the following (and tweak the other settings below to suit) ++# to enable the default home directory shares. This will share each ++# user's home directory as \\server\username ++;[homes] ++; comment = Home Directories ++; browseable = no + +@@ -174,3 +180,3 @@ + # next parameter to 'no' if you want to be able to write to them. +- read only = yes ++; read only = yes + +@@ -178,3 +184,3 @@ + # create files with group=rw permissions, set next parameter to 0775. +- create mask = 0700 ++; create mask = 0700 + +@@ -182,3 +188,3 @@ + # create dirs. with group=rw permissions, set next parameter to 0775. +- directory mask = 0700 ++; directory mask = 0700 + +@@ -186,6 +192,6 @@ + # with access to the samba server. +-# The following parameter makes sure that only "username" can connect +-# to \\server\username ++# Un-comment the following parameter to make sure that only "username" ++# can connect to \\server\username + # This might need tweaking when using external authentication schemes +- valid users = %S ++; valid users = %S + |