Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I added a Debian etch host (hostname: webserver, IP address: 192.168.101.2) running Samba to a Windows network with a Windows 2003 PDC (IP address 192.168.101.3). The Samba server exports a public guest share, called "Intranet". The server shows up fine in the network, but trying to click on it produces an error dialog, stating I don't have the necessary permissions. So does entering \webserver manually and using \webserver\internet states that the path does not exist. Interestingly, accessing the share by IP address (\192.168.101.2 or \192.168.101.2\intranet) works fine. DNS is configured correctly, and "smbclient //webserver/intranet" on another Linux client works fine.

One complicating issue is that the webserver is only a VMware virtual machine running on PDC server.

Here is our smb.conf:

[global]
    workgroup = Foobar
    server string = Webserver
    wins support = yes                 ; commenting out these
    wins server = 192.168.101.3 ; two lines has no effect
    dns proxy = no
    guest account = nobody
    [... snipped some unrelated bits, like logging ...]
    security = share
    [... snipped some password-related things ...]
    domain master = no

[intranet]
    comment = Intranet
    path = /srv/webserver/contents
    browseable = yes
    guest ok = yes
    guest only = yes
    read only = yes
    create mask = 0775
    directory mask = 0775
share|improve this question
Does the FQDN work? i.e. \\webserver.yourdomain.com\intranet? – Chris Brentano Oct 14 '09 at 21:22
No, using the FQDN has the same problems. – Sebastian Rittau Oct 15 '09 at 16:29
2  
Is nslookup webserver.yourdomain.com is working? Recent versions of Windows started to prefer DNS over WINS. – Mircea Vutcovici Mar 20 '10 at 0:18

2 Answers

My first guess would be firewall. You need to have ports 137, 138, 139 open for both tcp and udp for Windows to play nice with a Linux Samba server.

share|improve this answer
The Firewall is turned off. All ports are reachable, except 137 and 138 per TCP (which seems to make sense, though). – Sebastian Rittau Oct 15 '09 at 16:30

Are you sure that both the smbd and nmbd processes are running on the server?

Try:

ps aux | grep mbd
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.