[Samba] Re: problem with nmbd renewing WINS registration

Jeremy Allison jra at samba.org
Wed Mar 27 18:19:03 GMT 2002


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.




More information about the samba mailing list