[KLUG Members] nmblookup not working on one box

Adam Tauno Williams members@kalamazoolinux.org
Mon, 20 Jan 2003 09:01:12 -0500


I've discovered a nifty trick with nmblookup: -S option which lists the active
security contexts on a Win32 client.  A really easy way to see who is logged on
a PC.  Then, loving this trick, I discovered it doesn't work on one of my
servers.  It works on every other one, and my desktop, but not one particular
box.  They all participate in the domain, have the same "wins server =" setting,
use the same DNS server, etc...  Curious if any Samba/CIFS/WINS gurus out there
could clue me in on something to look at.  The Samba shares on the server where
nmblookup doesn't work, work fine.

Host it works on -
[root@sardine /root]# smbd -V
Version 2.2.5
[root@sardine /root]# nmblookup pc01913
querying pc01913 on 192.168.1.255
192.168.1.194 pc01913<00>
[root@sardine /root]# nmblookup -S pc01913
querying pc01913 on 192.168.1.255
192.168.1.194 pc01913<00>
Looking up status of 192.168.1.194
        PC01913         <00> -         M <ACTIVE> 
        BACKBONE        <00> - <GROUP> M <ACTIVE> 
        PC01913         <20> -         M <ACTIVE> 
        PC01913         <03> -         M <ACTIVE> 
        BACKBONE        <1e> - <GROUP> M <ACTIVE> 
        CPINCOMB        <03> -         M <ACTIVE> 

Host it doesn't -
[root@kohocton root]# smbd -V
Version 2.2.5
[root@kohocton root]# nmblookup pc01913
querying pc01913 on 192.168.1.255
name_query failed to find name pc01913
[root@kohocton root]# nmblookup -S pc01913
querying pc01913 on 192.168.1.255
name_query failed to find name pc01913
[root@kohocton root]