bug in nmbd_namerelease.c (stable and TNFG tree) (fwd)

Luke Kenneth Casson Leighton lkcl at samba.org
Thu Feb 24 15:07:28 GMT 2000



<a href=" mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton    </a>
<a href=" http://cb1.com/~lkcl"  > Samba and Network Development   </a>
<a href=" http://samba.org"      > Samba Web site                  </a>
<a href=" http://www.iss.net"    > Internet Security Systems, Inc. </a>
<a href=" http://mcp.com"        > Macmillan Technical Publishing  </a>
 
ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals

---------- Forwarded message ----------
Date: Thu, 24 Feb 2000 09:55:18 +0100 (CET)
From: Stephan Lauffer <lauffer at ph-freiburg.de>
To: Luke Kenneth Casson Leighton <lkcl at samba.org>
Subject: bug in nmbd_namerelease.c (stable and TNFG tree)

Hi Luke!

Thanx for your great work on samba an the mailinglists on samba.org!
(before you read on: my english is bad and i´m no cc programmer :-/
only a little administrator :-) )

I found a "bug" - or let me say problem -  im nmbd_namerelease.c.
I think it´s up from line 214... "Go through and release the name for all known ip addresses. 

In many cases you must set in [global] something like this:
-------
   interfaces = 193.197.133.10/255.255.255.0 127.0.0.1
   bind interfaces only = true
   wins server = 193.197.133.9
   domain master = yes
   domain logons = yes     
-------

This causes a big problem!!! samba is trying to register localhost on the
wins server!!!
Have a look at the nmbd-logs:
-------
[2000/02/22 18:03:16, 0] libsmb/nmblib.c:send_udp(755)
  Packet send failed to 193.197.133.9(137) ERRNO=Invalid argument
[2000/02/22 18:03:16, 0] nmbd/nmbd_packets.c:send_netbios_packet(173)
  send_netbios_packet: send_packet() to IP 193.197.133.9 port 137 failed
[2000/02/22 18:03:16, 0] nmbd/nmbd_namerelease.c:release_name(233)
  release_name: Failed to send packet trying to release name LINUX-AG<00> IP 127.0.0.1
-------

Until now, your samba server is not registered on the wins server and also does
not act as dmb.
The only solution this time is to comment out the lines interfaces... bind interfaces...

Luke, I posted a message with this report yesterday to samba-ntdom at samba.org
(subject '"bug": DMB, bind interfaces and localhost')
Sorry for the mail-trouble, but I´m not sure how to explain this problem closer,
or how to commit this bug and to whom.

Many thanx for your work on samba!

Liebe Gruesse, 
Stephan Lauffer

[ Paedagogische Hochschule Freiburg - Systemtechnik - Germany    ]
[ Abteilung ZIK: <a href="http://www.ph-freiburg.de/zik">WWW</a> ]
[ Tel.: 0761 - 682 447                    Mobil: 0172 - 7145 197 ]




More information about the samba-technical mailing list