Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 \\ (verified using ifconfig) I see the error message:


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

when you map the network drive from Windows, do not [Browse] for the share. instead, type it in manually (eg. \\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


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.