Floppyman
07-27-2003, 10:41 PM
Hi all,
I tried to setup a Samba server today. I want to share a partition off my 2nd hdd, /media. I can access this share fine in win2k, however I have no write permissions and no read permission beyond the top level directory (i.e. I can't go any further than opening the share). Here's what's in the smb.conf file:
[media]
comment = media
path = /media
printable = no
read only = no
public = yes
writable = yes
Any ideas? Also instead of going public = yes, can I restrict access with valid users = somehow to just allow the same username and password I use to logon to my win2k box? I have not been able to figure this out. I have been able to successfully share and read/write the /usr/local directory with valid users = root. However, all I want is read/write access to the /media share with the same user name I use to logon to the win2k box, or either a new custom user name, e.g. something like media1. Would I have to create a new user account on the linux box, or is there some other way to add users? Thanks in advance
I tried to setup a Samba server today. I want to share a partition off my 2nd hdd, /media. I can access this share fine in win2k, however I have no write permissions and no read permission beyond the top level directory (i.e. I can't go any further than opening the share). Here's what's in the smb.conf file:
[media]
comment = media
path = /media
printable = no
read only = no
public = yes
writable = yes
Any ideas? Also instead of going public = yes, can I restrict access with valid users = somehow to just allow the same username and password I use to logon to my win2k box? I have not been able to figure this out. I have been able to successfully share and read/write the /usr/local directory with valid users = root. However, all I want is read/write access to the /media share with the same user name I use to logon to the win2k box, or either a new custom user name, e.g. something like media1. Would I have to create a new user account on the linux box, or is there some other way to add users? Thanks in advance