[Samba] WINS Caching Error?

Chad Vincent chad at rhiannonweb.com
Mon Apr 5 16:25:42 GMT 2004


Here is the problem:

Installed Debian Woody
Installed Samba 3.02a-1
Setup Samba
Setup Network to use Static IP address (Being a PDC / WINS Server and all...)

Now I'm getting the following:

 >ifconfig eth0
eth0:
Link encap:Ethernet  HWaddr: [MAC address here]
inet addr:192.168.x.19  Bcast:192.168.x.255  Mask: 255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500  Metric:1
.....etc....

 >smbclient -L [SERVER]
Error connecting to 192.168.x.195
Connection to [SERVER] failed

 >ping [SERVER]
PING [SERVER].localdomain (192.168.x.19): 56 data bytes
64 bytes from 192.168.x.19: icmp_seq=0 ttl=64 time=0.0ms
**SNIP**

 >cat /etc/hosts
**SNIP**
192.168.x.19  [server].localdomain  [server]

Normally, I wouldn't be too concerned, but apparently this has propagated 
into WINS, and so we have one computer (so far, we're transitioning to this 
new server in stages) that cannot connect to the server until the NetBIOS 
has propagated to it, and I don't want to have to set up a custom LMHOSTS 
for every client.  That's what WINS is for.

Also, if it makes any difference, 192.168.x.195 was the last DHCP address 
on that network card before I changed it to Static IP.

Appropriate sections of smb.conf, ask if you need more:

[global]
interfaces=eth0 192.168.x.19
netbios name=[SERVER]
workgroup=DM.NET
security=USER
socket options=TCP_NODELAY
dns proxy=no
os level=65
domain master=yes
prefered master=yes
wins support=yes
local master=yes
domain logons=yes
name resolve order=wins lmhosts bcast host


Chad Vincent
Owner
RhiannonWEB
Phone: 330-283-4681 



More information about the samba mailing list