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

Allow for shares with public access (no authentication) #322

Open
pfaelzerchen opened this issue Dec 18, 2023 · 2 comments
Open

Allow for shares with public access (no authentication) #322

pfaelzerchen opened this issue Dec 18, 2023 · 2 comments

Comments

@pfaelzerchen
Copy link

Currently, I provide some traditional SMB shares from my old server solution that can be accessed from the local network without username and password. Use cases are:

  • a public file exchange (rw)
  • serve a music library (ro)

As far as I understand the documentation, one have to choose for some kind of user authentication. It would be nice to have an option, e.g. spec.mode=public in the SmbSecurityConfig to make that possible.

@pfaelzerchen
Copy link
Author

I took the ConfigMap, Secrets, Service and Deployment that was created by the operator and did the adjustments, necessary for my use case. I came up with the following additions to the config map necessary to make any computer and device working as expected:

globals.globals.options: two lines must be added:

"server role": "standalone server",
"map to guest": "bad user"

Actually, only SONOS S2 needed them, Windows and Linux hosts did work without.

The shares just need

"guest ok": "yes"

I hope this helps. Tutorials argue that one should add "guest only" to the shares in this case for security reasons. For my special use case, it doesn't seem to really make a difference.

@phlogistonjohn
Copy link
Collaborator

Thank you for the feedback!

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

No branches or pull requests

2 participants