[Samba] Problem with network browsing

Michael Jones samba at jonesmz.com
Mon Jul 13 13:05:34 UTC 2020


>
>
>
> ###############################################
> Log from running the "smbtree" command, with the broadcast flag
> ###############################################
> mimir /var/log/samba # smbtree --user jonesmz -b -d10
> lp_servicenumber: couldn't find homes
> added interface ceph-public ip=fda8:941:2491:1699:60fa:e622:8345:2162
> bcast= netmask=ffff:ffff:ffff:ffff::
> added interface general ip=10.0.0.2 bcast=10.255.255.255 netmask=255.0.0.0
> name_resolve_bcast: Attempting broadcast lookup for name __MSBROWSE__<0x1>
> parse_nmb: packet id = 22832
> nmb packet from 10.0.0.2(35072) header: id=22832 opcode=Query(0)
> response=Yes
>     header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes
>     header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
>     answers: nmb_name=__MSBROWSE__<01> rr_type=32 rr_class=1 ttl=259200
>     answers   0 char ......   hex 80000A000002
> Got a positive name query response from 10.0.0.2 ( 10.0.0.2 )
> validator failed
> parse_nmb: packet id = 22832
> nmb packet from 10.0.0.2(35072) header: id=22832 opcode=Query(0)
> response=Yes
>     header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes
>     header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
>     answers: nmb_name=__MSBROWSE__<01> rr_type=32 rr_class=1 ttl=259200
>     answers   0 char ......   hex 80000A000002
> Got a positive name query response from 10.0.0.2 ( )
> validator failed
> name_status_find: looking up *#00 at 10.0.0.2
> Opening cache file at /var/lock/samba/gencache.tdb
> gencache_set_data_blob: Adding cache entry with key=[NBT/*#00.1D.10.0.0.2]
> and timeout=[Wed Dec 31 06:00:00 PM 1969 CST] (-1594610080 seconds in the
> past)
> namecache_status_fetch: no entry for NBT/*#00.1D.10.0.0.2 found.
> startlmhosts: Can't open lmhosts file /etc/samba/lmhosts. Error was No
> such file or directory
> parse_nmb: packet id = 15345
> nmb packet from 10.0.0.2(35072) header: id=15345 opcode=Query(0)
> response=Yes
>     header: flags: bcast=No rec_avail=No rec_des=No trunc=No auth=Yes
>     header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
>     answers: nmb_name=*<00> rr_type=33 rr_class=1 ttl=0
>     answers   0 char .MIMIR             hex
> 074D494D495220202020202020202020
>     answers  10 char ...MIMIR           hex
> 0004004D494D49522020202020202020
>     answers  20 char   ...MIMIR         hex
> 20200304004D494D4952202020202020
>     answers  30 char      ....__MSBRO   hex
> 2020202020040001025F5F4D5342524F
>     answers  40 char WSE__....NETWORK   hex
> 5753455F5F020184004E4554574F524B
>     answers  50 char -1      ...NETWO   hex
> 2D312020202020200084004E4554574F
>     answers  60 char RK-1      ...NET   hex
> 524B2D312020202020201D04004E4554
>     answers  70 char WORK-1      ....   hex
> 574F524B2D312020202020201E840000
>     answers  80 char ................   hex
> 00000000000000000000000000000000
>     answers  90 char ................   hex
> 00000000000000000000000000000000
>     answers  a0 char .............   hex 00000000000000000000000000
> MIMIR#00: flags = 0x04
> MIMIR#03: flags = 0x04
> MIMIR#20: flags = 0x04
> __MSBROWSE__#01: flags = 0x84
> NETWORK-1#00: flags = 0x84
> NETWORK-1#1d: flags = 0x04
> NETWORK-1#1e: flags = 0x84
> gencache_set_data_blob: Adding cache entry with key=[NBT/*#00.1D.10.0.0.2]
> and timeout=[Sun Jul 12 10:25:40 PM 2020 CDT] (660 seconds ahead)
> namecache_status_store: entry NBT/*#00.1D.10.0.0.2 -> NETWORK-1
> name_status_find: name found, name NETWORK-1 ip address is 10.0.0.2
> internal_resolve_name: looking up NETWORK-1#1d (sitename (null))
> name NETWORK-1#1D found.
> remove_duplicate_addrs2: looking for duplicate address/port pairs
> found master browser NETWORK-1, 10.0.0.2
> Enter NETWORK-1\jonesmz's password:
> Connecting to 10.0.0.2 at port 445
> Connecting to 10.0.0.2 at port 139
> name_status_find: looking up *#00 at 10.0.0.2
> namecache_status_fetch: key NBT/*#00.00.10.0.0.2 -> MIMIR
> Connecting to 10.0.0.2 at port 445
> Connecting to 10.0.0.2 at port 139
> Unable to find master browser by broadcast
>
>

Does anyone know why the "smbtree" program is failing to find any of the
other services I have running?

Why is it printing: "validator failed" to the log?


More information about the samba mailing list