Samba - Removing all passwords on shares

Hi,

Im trying to setup samba on my redhat 9 box.

I want no security on it what so ever - that is, no password prompt when a windows client trys to connect to a share.

Could any one please explain how this is achieved?  I have tried various methods, all result in Samba still prompting for a username &  password when a client trys to access a share.

Many thanks, Elliot.
EggehAsked:
Who is Participating?
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.

paranoidcookieCommented:
What the security set to in samba?

Have a look at the security permissions in your smb.conf also make sure the actual directory has permissions 777 read / write / execute on the unix file system.
If you dont want it world writable you can use the force group directive in smb.conf and allow the groups full access.

http://www.samba.org/samba/docs/man/smb.conf.5.html

how about

[share]

path = /path/to/share
read only = no
guest ok = no
0
wesly_chenCommented:
Hi,

Besides, in /etc/samba/smb.conf, change
-----
security = share
-----

Wesly
0

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
EggehAuthor Commented:
Afriad neither of the above works.

Permissions on the folders are 777.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

wesly_chenCommented:
Hi,

   Could you post your /etc/samba/smb.conf ?

Wesly
0
paullamhkgCommented:
set the service guest only = yes, and the security = share, the connection is made as the username given in the “guest account =” for the service, irrespective of the supplied password. so it should ask for login.
0
EggehAuthor Commented:
Hi,

This is my smb.conf file:

www.2wp.net/sambaconf.txt

Cheers, Elliot.

0
paranoidcookieCommented:
Which share do you want to be made totally available?
0
EggehAuthor Commented:
The [Apps] folder.
0
paranoidcookieCommented:
Why have set guest ok to no?
0
EggehAuthor Commented:
Becuase you told me to at the top of the thread? :)
0
paranoidcookieCommented:
In the words of homer simpson DOH!

Try changing it to yes.
0
EggehAuthor Commented:
And also in the words of homer simpson, WOOHOO!

It seems to work.. although i dont know why it didnt before as i know i had guest = yes pretty much all the time, as its common sense really!

Ill just double check on a few machines then ill be back with the points :)
0
wesly_chenCommented:
Hi,

   I guess you change the "security=share" and "guest ok=no" and the same time so it didn't work at that time.
So the right combination is "security=share" and "guest ok=yes".

Regards,

Wesly
0
paranoidcookieCommented:
Im not sure the security is the important bit to be honest if you say the share is writeable and guests are ok then I think thats it I might give it a test when I get home (dont think work would be impressed).
0
wesly_chenCommented:
> Im not sure the security is the important bit
I've tested it. Without security set to "share" ("user" or "server"), it will prompt you for username and password.
"guest ok = yes" is for directory sharing level.

Wesly
0
paullamhkgCommented:
I suggested at my 1st comment to use guest only = yes and security = share :-)
0
paullamhkgCommented:
oh after review my 1st comment there is a typo mistake, I wanna to said it shouldn't as for login ;-(
0
paranoidcookieCommented:
wesly_chen did your computer have an account on the domain?
0
wesly_chenCommented:
> wesly_chen did your computer have an account on the domain?
My Windows PC, yes.
My Samba test machine, no.

Wesly
0
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
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.