Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: shawnbishop on August 17, 2007, 11:22:06 AM

Title: Samba Share accessable by everyone - no passwords etc
Post by: shawnbishop on August 17, 2007, 11:22:06 AM
Good Day

I seem to be having a moment where I cant seem to get a share avaliable and open for everyone.

I create an Ibay, and allow it to be read etc by everyone...but when I try to access it it asks for a password and username..

I just want a shared directory on the server, for MP3 and Movies that anybody on the network can access with out putting in a username and password...

What settings need to be changed in the smb.conf file therefore the /etc/e-smith/templates/etc/smb.conf directory??

Cheers
Title: Re: Samba Share accessable by everyone - no passwords etc
Post by: NickCritten on August 17, 2007, 01:01:36 PM
Hi Shawnbishop,

Google is your friend.
http://www.google.co.uk/search?q=samba+share+no+password

This shows that you need "guest ok=yes" in smb.conf for the IBay in question.

Search these forums for "guest ok" and you will find several posts through which you should be able to figure it out.

If you get stuck, give a shout.

Nick
Title: Re: Samba Share accessable by everyone - no passwords etc
Post by: TrevorB on August 18, 2007, 12:46:13 PM
I just want a shared directory on the server, for MP3 and Movies that anybody on the network can access with out putting in a username and password...

What settings need to be changed in the smb.conf file therefore the /etc/e-smith/templates/etc/smb.conf directory??
What I have done is create an additional template fragment with an alternative name for one of my ibays (so that authenticated people can write to it, but anyone can see it without usernames etc.).

/etc/e-smith/templates-custom/etc/smb.conf/91media
Code: [Select]
[media]
comment = Shared Media
guest ok = yes
security = share
path = /home/e-smith/files/ibays/<my ibay>/files
read only = yes
writable = no
printable = no
Trevor B