Samba (sharing with M$ Windows) Problem ?!
i get this error massage when i try to open my sharing folder from the windows network folder
The folder contents could not be displayed. "Windows Network: localhost" couldn't be found. Perhaps it has recently been deleted. i dont know what is wrong i have tried every thing in configuring the sharing folders - from the conf file - from samba GUI - permission to all user to read and write i really want to know what is happening...:confused: |
have you tried connecting with an IP address?
|
sorry ,i dont know what are u talking about
|
when you connect to your SAMBA share from your windows machine try this:
\\192.168.0.111(YOUR SAMBA machines IP)\share_name So i have a share like this: \\192.168.0.101\media |
How to map a Network Drive
here i made this for you (and others):
How to Map a Network Drive if you dont know your password then you will need to reset it (if you have admin rights) or else contact your network administrator. if you need any help feel free to e-mail me |
localhost refers to the local loopback adapter. This is a virtual device with the IP address 127.0.0.1. So you might be trying to access the client computer and not the server. Is your linux box hostname localhost?
Add this line to your smb.conf file. netbios name = server Change server to anything you want. This name will then be displayed in windows network neighborhood. Be sure to restart samba. It might take several minutes for windows to actually see the new name in network neighborhood. An Internet Protocol (IP) address in a nutshell is a unique number that identifies devices on a network. |
Problem accessing files - Samba
Quote:
This is my first post, so I expect an answer :-) I hve the same problem, mentioned above. I've changed 'netbios name' variable, but the problem remains. It it still represented on the network as 'localhost', and I can't access it. Regards... |
a.ilic,
Welcome to LinuxQuestions. What linux distribution/version are you running? Did you restart samba? |
Quote:
I use Fedora 7 (kernel 2.6.21). This is the manual that I used to set up Samba server. http://www.mjmwired.net/resources/mj...-f7.html#samba After I set it up, I could see my server. It was named 'Localhost' and I could not access it. After I read here that the problem can be in the name 'localhost' (because of a loop back driver), I've set up a new 'netbios name', but from then, I can't see my Samba server. After every change I restart Samba server. Confusing is that, that I can see shared contents calling smb://192.168.1.34/ from browser (on local computer, of course). When I type in terminal command smbclient -L localhost -U% I got this result: Quote:
This is the part of my smb.conf file: Quote:
|
I found solution on page:
http://forums.fedoraforum.org/forum/...d.php?t=164650 The problem was, that in Fedora 7 you must separately start SMB and NMB services, as they are separated. In previous versions of Fedora, NMB was a part of Samba, so it was enough just to start SMB service. In terminal, type next two commands: sudo /etc/init.d/smb start sudo /etc/init.d/nmb start To start automaticly SMB and NMB services on boot, type these two commands in terminal: sudo /sbin/chkconfig --level 35 smb on sudo /sbin/chkconfig --level 35 nmb on Problem solved! |
i have done that already but no use i guess this is another thing
|
Must give access to parent directories
I just spent a couple hours trying to figure this one out.
I was trying to share a sub-folder, but I hadn't allowed anyone to browse into the parent folders. So I guess make sure your parent folders allow access if you want to share a sub-folder. I'm not sure if this is the cause of your problem, but it is worth a try, especially since I was getting the exact same message, and it fixed my problem. |
The first thing to do is to give your computer a real hostname. Localhost is an alias for 127.0.0.1 so if a client computer tries to access your server's share by the hostname "localhost", it will resolve to the client machine instead of the server.
Also post the [General] portion of your smb.conf config file. Make note of the "Security =" line. If it isn't present, then the default is "Security = User". If this is the case, make sure you use the "smbpasswd" program to enter your username & password in samba's smbpasswd file. Another thing to check is that you have ports 137-139 open. These are used either for browsing or for transferring files. |
All times are GMT -5. The time now is 03:02 PM. |