Comments (5)
good to know! have fun with the container :)
from samba.
I guess the user needs access permissions on the filesystem
I have some similar setup where I made the guest share read only. If you're logged in you have write permissions.
https://askubuntu.com/questions/88108/samba-share-read-only-for-guests-read-write-for-authenticated-users
This describes it pretty well
from samba.
yeah.. The thing is all users have access to the share (read + execute)
For example I can run
docker exec -it --user nobody samba sh
cd /shares/sharename
ls
and see all the files..
For your working setup, did you have to assign the guest user to a particular user, or did the defaults work?
from samba.
My guest gets mapped to nobody.
I set my permissions on filesystem level accordingly
So there are files and documents which wouldn't be accessible by nobody e.g guest.
If I want to share files or whole shares I overwrite permissions and force groups on the samba config level.
You can also use nobody and remove others from writing in the share
With chmod 775 for example
from samba.
Thanks for your help!
I found the problem, apparently I can't use valid user in combination with guest ok, unless I add the guest users (eg nobody) to valid user.
EG, this works:
- SAMBA_VOLUME_CONFIG_sharename=[sharename]; path=/shares/sharename; valid users = user1, user2, nobody; read only = yes; write list = user1; guest ok = yes; browseable = yes
from samba.
Related Issues (20)
- Clients can see Samba server, but are unable to see/browse/connect to shares HOT 22
- Latest tag fails to init user HOT 6
- SAMBA_VOLUME_CONFIG_ should support colons HOT 4
- Why is there a volume created at '/shares'? HOT 1
- create-hash.sh does not appear to output a valid hash when username is not lowercase HOT 15
- Use GitHub Actions to build docker images instead of local builds/ServerContainers HOT 14
- FQDN for Avahi hostname HOT 6
- Could not open tdb: No such file or directory (both account_policy.tdb and registry.tdb) HOT 10
- Avahi fails to start, due to stale pid file. HOT 3
- Better error messages on malformed config HOT 6
- Allow running the samba server not as root HOT 5
- AD Auth HOT 6
- create-hash repository HOT 1
- Username cannot be added HOT 5
- The fruit:advertise_fullsync is not exist in the samba official configuration document HOT 2
- Daily image updates HOT 8
- swarm mode not supported HOT 3
- testparm check ignores SAMBA_GLOBAL_CONFIG_ with spaces HOT 5
- Samba is discoverable by Windows but not discoverable by another Linux machine HOT 10
- How to expose shares with NodePort in Kubernetes HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from samba.