Ok - update time.
I've got to the stage now where I can see two home folders on my Windows PC which is connected to the same router. It can read files off the server... but not write. in /etc/samba/smb.conf I have "read only = No" (without quotes) set for [exchange] and [software]. So I can't see why it can't write. Help is appreciated, I'm getting there!
I've also installed GNOME for a GUI to put myself back into familiar territory, I hope this doesn't complicate things further down the line?
Thanks all!
For a private home network, the SMB.CONF file can be a lot simpler. Here's what I use:
I don't need to have individual accounts on my NAS box to allow my son and daughter to access the file server... nor do I get grief when they try to access it and forget that Unix IS case sensitive for usernames while Windows is not.Code:[global] workgroup = workgroup server string = Storage Drive security = share deadtime = 5 socket options = tcp_nodelay iptos_lowdelay so_keepalive so_rcvbuf=32768 so_sndbuf=32768 os level = 65 preferred master = yes wins support = yes create mask = 0644 directory mask = 0755 guest ok = yes store dos attributes = yes dos filemode = yes [shared] comment = storage path = /home/shared read only = no
Of course, the above SMB.CONF is a security nightmare... but since I'm behind a NAT firewall router AND my ISP purposely blocks port 137 and 138, I have no worries that an outside hacker will get in (I hope!)
-- Roger
Gentlemen may prefer Blondes, but Real Men prefer Redheads!
Thanks for that, i've used that and can now see the drive from my Windows network. Unfortunately, when I try to access the folder, I'm denied access. I wonder whether this is due to the fact that I did not actually create the folder first on the server? If so, can someone just talk me through that? Thanks.
Stefan.
Stefan, do you have the same users on all your boxes with matching passwords? This is essential for SAMBA to work smoothly.
-Tim
www.pcchopshop.net
Hard to find and obsolete PC and server parts. "If we can't find it, it probably doesn't exist"
I have Server 8.04 on an HP e.pc. I am trying to access it from my work laptop, which is on another domain. The server uses workgroup as its workgroup name while the laptop uses wuerth as its workgroup name. Could this be the problem? I did have it working before with server 7.04 but a friend set that up for me. that HDD died and I got a new one and am now trying to set it up for myself.
Ok, I've now changed the above code to use wuerth as my workgroup and I can now open the shared folder. However, when I try to save a file to it, I get an "Access is denied, make sure that the disk is not full or write protected and that the file is not currently in use"
Any ideas what to do now? I just want to be able to access that folder from any computer connected to my network, the whole network is behind a firewall so security should be ok. I just want to be able to store stuff on the server and get to it from my laptop or my wife's computer or whatever.
If you are routing SMB over the internet security is definitely NOT ok. You shoulld be using VPN or some other kind of tunnel to access the shares. Am I hearing you right, you have smaba shares exposed to the internet?
-Tim
www.pcchopshop.net
Hard to find and obsolete PC and server parts. "If we can't find it, it probably doesn't exist"
No, I'm sorry, I should probably have explained that better. I just mean any computer connected through my router or to my home wireless network. If I want to connect remotely, I will use a VPN, but I just want to get the share up and running first.
Thanks for your help so far though!
Bookmarks