public samba share without password request

I have been attempting to share a mount point of a raid md0p1 mounted on /backups and have this location be freely accessible for anyone to write to without a password prompt.
as of yet I have tried many of the smb.conf examples I have found online but none of them will do this without some type of password prompt.
I have attempted this on debian, ubuntu, zorin, and a few others.
If I share a folder from a users desktop on ubuntu and set it to share with all without a password it will, but that is with a folder not the mount point.
If I mount the raid within the user account I still get the password prompt, if I move the folder I use for testing outside of the user directories IE: /storage I also get the password prompt.
I know that I am just missing something and I hope that someone on this site can get me back on track.

So in closing - use samba to share a folder on / - have this folder be the mount point for a drive created with mdadm - when accessed from windows systems have no password prompt appear.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Daniel McAllisterPresident, IT4SOHO, LLCCommented:
OK, so the first question is whether there are other SMB shares on this same system.
If so, that is a harder thing to do... if not, then the answer isn't on your Linux filesystem (location or permissions - although those are important), the issue is in your Samba config.

Samba 3 has multiple authentication types:
 - User (which requires a username/password
 - Share (which may or may not have a password)
 - Server (which requires specific user passwords - the server's usernames and passwords are not in a domain)
 - Domain (think Windows NT PDC kind of domain, where Samba 3 can be a PDC, BDC, or plain old member)
 - Active Directory (think Windows 2000-2012, where Samba 3 can be an AD member but not a server)

Yada yada yada - you want a SHARE level of security - rare today, but it is what you need unless your users are on a domain, in which case you should simply let them connect with their domain credentials (PDC or AD).

So within your smb,conf file, you want the following lines (lots more, but these are the ones important to THIS part of the task:
  security = share
  guest account = nobody
  map to guest = bad user

  comment = Share is called public
  path = /full/path/to/data/in/linux/filesystem
  browseable = yes
  public = yes
  writeable = yes
  guest ok = yes
  force user = nobody

Now, one last thing -- you just told samba to let guests connect, and that they'll be called "nobody" (SOMEONE has to own the files)... NOW, we need to create this mystery "nobody" account and make sure it has no password

  smbpasswd -an nobody

I hope this helps!


PS: If you have other Samba shares, post your config file and that should provide sufficient data

Also, if users can connect, but cannot see anything -- THEN start looking into your Linux FS permissions!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dixoncomAuthor Commented:
I was missing the command (smbpasswd -an nobody) your post was spot on, exactly what was needed thank you so much !
Daniel McAllisterPresident, IT4SOHO, LLCCommented:
Glad to be of help
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
File Sharing Software

From novice to tech pro — start learning today.