Samba Wins server gives wrong address

David Bullock davidb at loftuscomp.com.au
Wed Apr 5 00:39:12 GMT 2000


Hello,

I wonder if anyone knows if this is a limitation or a bug?

We need to use a print service on a Win95 PC via smbclient.

Smbclient uses wins and gets the wrong address.

The wins.dat entries for the PC are:

"OVERH2#03" 955147099 192.168.2.250 192.168.2.249 192.168.2.251  4R
"OVERH2#20" 955147100 192.168.2.250 192.168.2.249 192.168.2.251  4R
"OVERH2#00" 955147101 192.168.2.250 192.168.2.249 192.168.2.251  4R

The wins server returns 192.168.2.250

When these wins.dat entries were active, the correct address for the
PC was 192.168.2.251 

The PC is dialing in using our Telco's "Dial Connect" facility
and is assigned a different IP address each time.

The PC has an ethernet Interface (with IP 172.x.y.z style IP)
as well as this PPP interface.

We are using Samba 1.9.18P10.

I have glimpsed the 2.0.6 code and I suspect it would do the
same thing.

Why are the old addresses still there?  Should they be
timed out and discarded if not refreshed?  Does this
happen because the PC is declaring itself
"multihomed"?

I am interested in any information.

I know ways to dodge this problem - just interested
in why it is there!

Cheers,

David Bullock
Loftus Computing Services,
Adelaide, South Australia


More information about the samba mailing list