nmblookup was looking for 0x1b (domain master browser) not 0x1d (local
authorSamba Release Account <samba-bugs@samba.org>
Wed, 6 Nov 1996 20:14:24 +0000 (20:14 +0000)
committerSamba Release Account <samba-bugs@samba.org>
Wed, 6 Nov 1996 20:14:24 +0000 (20:14 +0000)
master browser) names with the -M switch.

lkcl
(This used to be commit f27a9ccc972432a8a49dc0f0290751971d5699cd)

source3/utils/nmblookup.c

index ccdbec45e6ea984a1eeefeb5d0f9f8e9124a77d7..c96927683858d2c88ac4812184540c43d66b61f1 100644 (file)
@@ -179,7 +179,7 @@ int main(int argc,char *argv[])
          strcpy(lookup,"\01\02__MSBROWSE__\02");
          lookup_type = 1;
        } else {
          strcpy(lookup,"\01\02__MSBROWSE__\02");
          lookup_type = 1;
        } else {
-         lookup_type = 0x1b;
+         lookup_type = 0x1d;
        }
       }
 
        }
       }