Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've just installed Samba on my Ubuntu 12.04 machine and need to access it from Windows Server 2008.

$ sudo apt-get install samba
$ service smbd status
smbd start/running, process 23485

When I try to connect from the Windows Run dialog using \\192.168.1.111 (verified using ifconfig) I see the error message:

\\192.168.1.111

The specified network name is no longer available

This error pops up immediately. Note that before installing smbd the error took a while to appear and was a generic cannot connect to host type error. If I stop smbd, then the response goes back to timing out, so I know there's connectivity between the boxes.

What does this mean and what can I do to resolve this?

share|improve this question
    
I've worked around this for now by having Ubuntu connect to a share on Windows. –  Drew Noakes Feb 4 '13 at 13:28

1 Answer 1

when you map the network drive from Windows, do not [Browse] for the share. instead, type it in manually (eg. \192.168.0.100\ubuntushare). then check the box that says, "Connect using different credentials".

when you click [Finish], you'll be prompted for a network password. enter either your Ubuntu login credentials (or, preferably, your samba user/pass (as generated with the command: sudo smbpasswd -a USERNAME)).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.