Skip to content

Commit

Permalink
smb.conf: Avoid setting duplicate/ignored options
Browse files Browse the repository at this point in the history
* 'kernel share modes' is disabled by default[1].
* 'store dos attributes', which is set by default, assumes 'map archive'
  to be disabled[2].

[1] https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html#KERNELSHAREMODES
[2] https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html#STOREDOSATTRIBUTES

Signed-off-by: Anoop C S <[email protected]>
  • Loading branch information
anoopcs9 committed Aug 4, 2024
1 parent 4e3d505 commit cdc7080
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions playbooks/ansible/roles/samba.setup/templates/smb.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ server string = Samba server version %v
workgroup = MYGROUP
security = user

kernel share modes = No
map archive = No
posix locking = No
kernel change notify = no

Expand Down

0 comments on commit cdc7080

Please sign in to comment.