Saturday, November 10, 2012

Samba guest access

I was trying to share some photos for my wife to download from my linux desktop machine (CentOS 6). I had ~10Gig of photos but she only wanted a hand full. I though the best option would be to share out the folder using samba and she can use windows explorer to pick the ones she wants

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
map to guest = Bad User

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.


  1. Share your very excellent. It helped me to have much more knowledge in this field. Hope to contribute my work to my work better
    colour switch

  2. This article gives a lot to think about. 31

  3. 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

  4. Thanks for this article. Very interesting.

    Nathan from here

  5. The guest access is probably one of the most convenient thing that has ever existed or made in here.

  6. This Best Spin Bikes comes with a heavy 40lbs flywheel for super smooth spinning and an adjustable frame so you can find the best fit. It also comes with an LCD screen to keep track of your riding metrics such as time, calories burnt, distance, and RPM .


  7. ajman Escorts Girls || ajman Escorts Girls Service || Escorts Service In ajman || ajman call Girl Service || Call Girl Service In ajman || Indian Escorts Girls In ajman || Indian Call Girls In ajman || ajman Indian Call Girls || ajman Escorts Girls Agency || Escorts Agency In ajman || Female Escorts In ajman || ajman Female Escorts || ajman Call Girls Agency || Call Girls Agency In ajman || Independent Escorts Girls In ajman || ajman Independent Escorts Girls || Independent Call Girls In ajman || ajman Independent Call Girls || ajman russian Call Girls || Russian Call Girls ajman || ajman russian Escorts Girl || Russian Escorts Girl In ajman
    ajman Escorts Girls

  8. Spot on with this write-up, I truly think this website needs much more consideration. I’ll probably be again to read much more, thanks for that info.
    Click Here
    Visit Web

  9. I never thought that would be as simple as that. Thank you for sharing this solution and I'm looking forward to try this out. Also, please click here and discover the best concrete contractors to provide budget-wise concrete services in Tampa, FL.

  10. New information is perfectly remembered in the game process. It is this unobtrusive, entertaining form, and not math games for 2nd graders compulsory education, that helps parents ignite, and most importantly, maintain the preschooler's interest in new useful material.

  11. Jim Corbett Hotels and Resorts offer an enchanting gateway to the wilderness. Situated amidst the natural beauty of Corbett National Park, they provide a perfect fusion of luxury and wildlife exploration. With comfortable accommodations, thrilling safaris, and stunning surroundings, they're the ideal choice for nature lovers and adventure seekers alike. These establishments allow you to experience the untamed beauty of Jim Corbett while enjoying a comfortable and memorable stay.