Well it seems simple now but it took a few tries to get it working.
I use security=server which is not the most secure method but it is normally easy & convenient. It also seems to be poorly documented, particularly for more recent samba releases and versions of Windows.
My wife has an account on the password server but not on my new desktop. Guest access I though would be a simple solution here but no so. The problem is that guest access will not work by default when using security=server (despite what the man page says). There is a new setting called map to guest which defaults to Never. I had to change this to Bad User to get it to work.
There are the relevant parts from my working smb.conf:
security = server
password server = myserver
password server = myserver
map to guest = Bad User
[photos]
comment = John's photos
path = /home/jnewbigin/photos
guest ok = yes
writable = no
force user = jnewbigin
So now it is working and I am happy and my wife is happy too.
Share your very excellent. It helped me to have much more knowledge in this field. Hope to contribute my work to my work better
ReplyDeletecolour switch
This article gives a lot to think about. 31
ReplyDeleteNadia
I just would like to give a huge thumbs up for the great info you have here on this post. I will be coming back to your blog for more soon play
ReplyDeleteThanks for this article. Very interesting.
ReplyDeleteNathan from here
The guest access is probably one of the most convenient thing that has ever existed or made in here.
ReplyDeletehttps://www.tidewaternews.com/