[Samba] RE: problem with nmbd renewing WINS registration

Jason Barker jbarker at edulog.com
Thu Mar 28 08:45:26 GMT 2002


Here is the full length namelist.debug:
(The times are now around 16:34-16:54 instead of 10:25 as was in the earlier
post, that is because I restarted nmbd again yesterday in order to change
it's log level to 2.)

Subnet 172.16.128.50
----------------------
	Name = *<00>	Source = PERMANENT_NAME
b_flags = 44	death_time = PERMANENT	refresh_time = Wed Mar 27 16:34:21
2002

		number of IPS = 1	172.16.128.50

	Name = *<20>	Source = PERMANENT_NAME
b_flags = 44	death_time = PERMANENT	refresh_time = Wed Mar 27 16:34:21
2002

		number of IPS = 1	172.16.128.50

	Name = DEFIANT<00>	Source = SELF_NAME
b_flags = 46	death_time = PERMANENT	refresh_time = Wed Mar 27 16:34:25
2002

		number of IPS = 1	172.16.128.50

	Name = DEFIANT<03>	Source = SELF_NAME
b_flags = 46	death_time = PERMANENT	refresh_time = Wed Mar 27 16:34:25
2002

		number of IPS = 1	172.16.128.50

	Name = DEFIANT<20>	Source = SELF_NAME
b_flags = 46	death_time = PERMANENT	refresh_time = Wed Mar 27 16:34:25
2002

		number of IPS = 1	172.16.128.50

	Name = PROGRAMMING<00>	Source = SELF_NAME
b_flags = c4	death_time = PERMANENT	refresh_time = Wed Mar 27 16:34:25
2002

		number of IPS = 1	172.16.128.50

	Name = PROGRAMMING<1e>	Source = SELF_NAME
b_flags = c4	death_time = PERMANENT	refresh_time = Wed Mar 27 16:34:25
2002

		number of IPS = 1	172.16.128.50

	Name = __SAMBA__<00>	Source = PERMANENT_NAME
b_flags = 44	death_time = PERMANENT	refresh_time = Wed Mar 27 16:34:21
2002

		number of IPS = 1	172.16.128.50

	Name = __SAMBA__<20>	Source = PERMANENT_NAME
b_flags = 44	death_time = PERMANENT	refresh_time = Wed Mar 27 16:34:21
2002

		number of IPS = 1	172.16.128.50

Subnet UNICAST_SUBNET
----------------------
	Name = *<00>	Source = PERMANENT_NAME
b_flags = 44	death_time = PERMANENT	refresh_time = Wed Mar 27 16:34:21
2002

		number of IPS = 1	172.16.128.50

	Name = *<20>	Source = PERMANENT_NAME
b_flags = 44	death_time = PERMANENT	refresh_time = Wed Mar 27 16:34:21
2002

		number of IPS = 1	172.16.128.50

	Name = DEFIANT<00>	Source = PERMANENT_NAME
b_flags = 46	death_time = PERMANENT	refresh_time = Wed Mar 27 16:54:21
2002

		number of IPS = 1	172.16.128.50

	Name = DEFIANT<03>	Source = PERMANENT_NAME
b_flags = 46	death_time = PERMANENT	refresh_time = Wed Mar 27 16:54:21
2002

		number of IPS = 1	172.16.128.50

	Name = DEFIANT<20>	Source = PERMANENT_NAME
b_flags = 46	death_time = PERMANENT	refresh_time = Wed Mar 27 16:54:21
2002

		number of IPS = 1	172.16.128.50

	Name = PROGRAMMING<00>	Source = PERMANENT_NAME
b_flags = c4	death_time = PERMANENT	refresh_time = Wed Mar 27 16:54:21
2002

		number of IPS = 1	172.16.128.50

	Name = PROGRAMMING<1e>	Source = PERMANENT_NAME
b_flags = c4	death_time = PERMANENT	refresh_time = Wed Mar 27 16:54:21
2002

		number of IPS = 1	172.16.128.50

	Name = __SAMBA__<00>	Source = PERMANENT_NAME
b_flags = 44	death_time = PERMANENT	refresh_time = Wed Mar 27 16:34:21
2002

		number of IPS = 1	172.16.128.50

	Name = __SAMBA__<20>	Source = PERMANENT_NAME
b_flags = 44	death_time = PERMANENT	refresh_time = Wed Mar 27 16:34:21
2002

		number of IPS = 1	172.16.128.50

Subnet REMOTE_BROADCAST_SUBNET
----------------------
	Name = *<00>	Source = PERMANENT_NAME
b_flags = 44	death_time = PERMANENT	refresh_time = Wed Mar 27 16:34:21
2002

		number of IPS = 1	172.16.128.50

	Name = *<20>	Source = PERMANENT_NAME
b_flags = 44	death_time = PERMANENT	refresh_time = Wed Mar 27 16:34:21
2002

		number of IPS = 1	172.16.128.50

	Name = __SAMBA__<00>	Source = PERMANENT_NAME
b_flags = 44	death_time = PERMANENT	refresh_time = Wed Mar 27 16:34:21
2002

		number of IPS = 1	172.16.128.50

	Name = __SAMBA__<20>	Source = PERMANENT_NAME
b_flags = 44	death_time = PERMANENT	refresh_time = Wed Mar 27 16:34:21
2002

		number of IPS = 1	172.16.128.50



-----Original Message-----
From: jra at samba.org [mailto:jra at samba.org]
Sent: Wednesday, March 27, 2002 6:37 PM
To: Jason Barker
Cc: jra at samba.org; samba at lists.samba.org
Subject: Re: problem with nmbd renewing WINS registration


On Wed, Mar 27, 2002 at 04:38:53PM -0700, Jason Barker wrote:
> Hmmm...
> namelist.debug lists quite a few entries, all of which are very close to:
> (Name = is different and Source = is different for other entries)
> 
>         Name = DEFIANT<00>      Source = PERMANENT_NAME
> b_flags = 46    death_time = PERMANENT  refresh_time = Wed Mar 27 10:25:40
> 2002
> 
>                 number of IPS = 1       172.16.128.50
> 
> It would seem that nmbd thinks that it doesn't have to renew it's name
with
> the WINS...but it will have to renew in a few weeks...
> The time displayed was the time that I restarted nmbd this morning.

This is strange. nmbd only registers a "PERMANENT_NAME" for
the names :

*#0
*#20
__SAMBA__#0
__SAMBA__#20

All the other netbios names are registered as "SELF_NAMES" (or should be).
I've just done a HUP here against an nmbd registering itself with a
WINS server and I get (not only the UNICAST_SUBNET matters as that's
the subnet used to talk to the WINS server):

Subnet UNICAST_SUBNET
----------------------
        Name = __MSBROWSE__<01> Source = PERMANENT_NAME
b_flags = c4    death_time = PERMANENT  refresh_time = Wed Mar 27 13:58:34
2002

                number of IPS = 1       172.16.124.1

        Name = *<00>    Source = PERMANENT_NAME
b_flags = 44    death_time = PERMANENT  refresh_time = Wed Mar 27 13:53:16
2002

                number of IPS = 2       3.7.80.10       172.16.124.1

        Name = *<20>    Source = PERMANENT_NAME
b_flags = 44    death_time = PERMANENT  refresh_time = Wed Mar 27 13:53:16
2002

                number of IPS = 2       3.7.80.10       172.16.124.1

        Name = JRATEST<00>      Source = SELF_NAME
b_flags = 46    death_time = Sat Mar 30 17:13:27 2002
        refresh_time = Wed Mar 27 17:33:27 2002

                number of IPS = 2       3.7.80.10       172.16.124.1

        Name = JRATEST<03>      Source = SELF_NAME
b_flags = 46    death_time = Sat Mar 30 17:13:27 2002
        refresh_time = Wed Mar 27 17:33:27 2002

                number of IPS = 2       3.7.80.10       172.16.124.1

        Name = JRATEST<20>      Source = SELF_NAME
b_flags = 46    death_time = Sat Mar 30 17:13:31 2002
        refresh_time = Wed Mar 27 17:33:31 2002

                number of IPS = 2       3.7.80.10       172.16.124.1

Note that all the SELF_NAMES have a non permanent death and refresh time.

Can you check again on one particular name such as NAME#20
on the UNICAST_SUBNET.

Jeremy.
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba mailing list