Click to See Complete Forum and Search --> : Naive question?
mpjbrennan
12-14-2002, 03:11 PM
Can I create a samba share which references files on a Windows client that I can browse from Linux using Nautilus, in the same way that I can browse shares on Linux from the Windows client using Windows Explorer?
patrick
clane
12-15-2002, 01:52 AM
I don't know if this will work from Nautilus, but it works for me using Konqueror. Use this as your URI:
smb://xxx.xxx.xxx.xxx
where xxx is the IP address of the Windows box that you want to connect to. The IP of my Windows box is 192.168.168.2
You should see everything on your Windows box that is shared.
I am making several assumptions here.
First, that you have Samba up and running. That's a whole discussion in itself.
Second, you have set up something on your Windows box that is shared. If you don't have anything "shared", nothing will show up.
smb://blah blah also works by entering the actual name of the workgroup and computer as in:
smb://WORKGROUP/COMPUTERNAME, but I haven't been able to get that to work reliably. It may be "smb:", or "smb:/", or "smb:///", or "smb://workgroup/COMPUTERNAME/" or some other variant that I haven't figured out yet.
Hope this helps.:D
clane
12-15-2002, 02:53 AM
For whatever it's worth, I fired up the Nautilus browser and tried connecting to my Windows box using the instructions I gave in my previous post and couldn't get it work. Maybe there is something I'm doing wrong (after all, it's almost 2AM my time). Or, maybe it will only work with the Konqueror browser.......
mpjbrennan
12-15-2002, 06:06 AM
Thanks Clane,
I can connect in the way you describe using Nautilus and can see the Windows box in the network, but my question really is can I/ how do I set something up on the Windows box to share?
patrick
jkint
12-15-2002, 06:11 AM
if you're looking to setup a share point on the windows box, the first thing you need to do is verify that you have file/print sharing enabled. (if you're doing this over tcp/ip, please make sure you have a firewall/router setup in front of your network.)
to do this, just right click on "Network Neighborhood" or "My Network Places" (depending on version of windows), and select properties. there is a file and print sharing button in there..
once you've verified that file and print sharing is enabled, go into "My Computer" and find the folder(s) you would like to give access to. right click on the folder, and select the sharing option. the window that pops up will allow you to name your share and set passwords for read/full access.
HTH
-jon
mpjbrennan
12-15-2002, 09:11 AM
Thanks jkint - I searched the Samba documentation for that - never thought of looking in the Windows documentation!
patrick