[Samba] Accessed denied to shares unless IP address is used

Eero Volotinen eero.volotinen at iki.fi
Mon Nov 9 08:30:26 MST 2009

Quoting Jarom Jackson <argentum2f at gmail.com>:

> I just upgraded from Ubuntu feisty server edition to Ubuntu hardy server.
> Samba updated to version 3.0.28a.The smb.conf is the same I had before
> (checked that).
> From a windows machine if I enter
> \\servername\
> the shares all come up. I can see them but if I try to access them (ex.
> \\servername\data) it prompts for a username/password, and it doesn't work
> no matter what I enter
> If, on the other hand, I try the server ip
> (ex. \\\)
> it works just find. I can see and browse all the shares.
> I can also ping using just the servername, and it works just fine.
> Where do I need to look to solve this?

Your dns/netbios name resolution is not working. Usually this issue  
resolves if you enable wins server on samba and add samba server ip as  
wins server on windows client.

see the: http://oreilly.com/catalog/samba/chapter/book/ch07_03.html  
section 7.3.3


More information about the samba mailing list