I have a server with a single samba share on it (just playing at the moment).
This server has a user called “foo” with password “bar”.
“foo” is in the group “testgroup”
samba is configured for local user auth (not anonymous/open).
Directory: /mnt/Music (owned by root, group testgroup, permissions rwx-rwx-r x)
The share is defined as browseable, inherit permissions (so that files created belong to the testgroup group) and allow anonymous (anon is mapped to nobody)
In dolphin, I go to smb://nas/Music
I can see the files in there, but I cannot add/delete/edit anything. Fine, because I’m not authenticated
I then go to smb://james@nas/Music
I expect to get asked for james’s password, but I’m not & again I’m in as anonymous!
If I modify the share to NOT allow anonymous access, and then visit smb://nas/Music I am asked for a username & password which I supply and then I get full write access. The path also changes to smb://james@nas/Music/
It seems I can’t get dolphin (or konq, tested that too) to access the share WITH AUTHENTICATION if the share is configured to allow anonymous access.
I’d like authorised users to be able to write to the share, but also allow anyone (random friends) to read it.
I can post conf files if required. btw, the server is a freenas box.