Re: [Samba] how to setup an open share?

2008-10-26 Thread Michael Heydon


I want to create a universally writeable, browseable share. If you're 
on the network, you can use it. No passwords, any user.

Easy.

[global]

guest ok = yes
browseable = yes
These two lines apply to individual shares, don't put them in the global 
section.

Add a map to guest line, probably "map to guest = bad user".


[storage]

public = yes
guest ok = yes

These mean the same thing, get rid of one of them.


Is the problem it's in /home/video? move it to /opt??
The specific location on the filesystem isn't important as long as your 
guest user has rwx permissions in the relevant location.



*Michael Heydon - IT Administrator *
[EMAIL PROTECTED] 

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] how to setup an open share?

2008-10-26 Thread sean darcy

Using samba-3.2.4, on Fedora 9.

I want to create a universally writeable, browseable share. If you're on 
the network, you can use it. No passwords, any user.


Which I tried to do with this smb.conf, which doesn't work from Windows:

[global]
workgroup = NEW_NET
server string = asterisk server in closet
netbios name = Video_Server_in_Closet
 bind interfaces only = yes
interfaces = lo 10.10.11.0/24
log file = /var/log/samba/log.%m
max log size = 50
log level = 3
security = user
passdb backend = tdbsam
domain master = no
preferred master = no
guest ok = yes
browseable = yes

[storage]
comment = Video-storage
path = /home/video/storage
writeable = yes
browseable = yes
public = yes
guest ok = yes

From another linux box,
smbclient "\\\storage"

asks for root's password, but just hitting enter gets me in.

OTOH, on windows ( vista) I get a request for user and password :(

I want to be able to just click on it in Windows and access it.

Is the problem it's in /home/video? move it to /opt??

Any help appreciated.

sean

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba