Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smb.conf: Avoid setting duplicate/ignored options #114

Merged
merged 1 commit into from
Aug 4, 2024

Conversation

anoopcs9
Copy link
Collaborator

@anoopcs9 anoopcs9 commented Aug 2, 2024

This parameter defaults to no. Setting it to yes requires a file system module that supports file system sharemodes, otherwise attempts to access files will fail with a sharing violation.

Default: kernel share modes = no

When this parameter is set it will override the parameters map hidden, map system, map archive and map readonly and they will behave as if they were set to off.

Default: store dos attributes = yes

* '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]>
@anoopcs9 anoopcs9 merged commit cdc7080 into samba-in-kubernetes:main Aug 4, 2024
9 checks passed
@anoopcs9 anoopcs9 deleted the smb-dot-conf-cleanup branch August 4, 2024 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants