[Samba] smbtree vs nmblookup while looking for servers list

Alexander Petukhov devel at apetukhov.ru
Fri May 22 06:37:22 MDT 2015


Hello everyone on the list,
can't someone pls help me to figure out why I can't see all SMB shares 
available using smbtree, while it's fine using nmblookup

    |pit at t430s:/usr/src/samba/samba-3.6.6/examples/libsmbclient$
    nmblookup -S 'WORKGROUP'
    querying WORKGROUP on 192.168.0.255
    192.168.0.86 WORKGROUP<00>
    Looking up status of 192.168.0.86
        T430S           <00> -         B <ACTIVE>
        T430S           <03> -         B <ACTIVE>
        T430S           <20> -         B <ACTIVE>
        ..__MSBROWSE__. <01> - <GROUP> B <ACTIVE>
        WORKGROUP       <1d> -         B <ACTIVE>
        WORKGROUP       <1e> - <GROUP> B <ACTIVE>
        WORKGROUP       <00> - <GROUP> B <ACTIVE>

        MAC Address = 00-00-00-00-00-00

    192.168.0.74 WORKGROUP<00>
    Looking up status of 192.168.0.74
        SCHWARZ         <00> -         B <ACTIVE>
        SCHWARZ         <03> -         B <ACTIVE>
        SCHWARZ         <20> -         B <ACTIVE>
        WORKGROUP       <1b> -         B <ACTIVE>
        WORKGROUP       <1e> - <GROUP> B <ACTIVE>
        WORKGROUP       <00> - <GROUP> B <ACTIVE>

        MAC Address = 00-00-00-00-00-00

    192.168.0.50 WORKGROUP<00>
    Looking up status of 192.168.0.50
        BLACKBERRY-7EB2 <00> -         B <ACTIVE>
        BLACKBERRY-7EB2 <03> -         B <ACTIVE>
        BLACKBERRY-7EB2 <20> -         B <ACTIVE>
        WORKGROUP       <1e> - <GROUP> B <ACTIVE>
        WORKGROUP       <00> - <GROUP> B <ACTIVE>

        MAC Address = 00-00-00-00-00-00

    pit at t430s:/usr/src/samba/samba-3.6.6/examples/libsmbclient$ smbtree
    -b -S -N
    WORKGROUP
        \\T430S                t430s server|

Acually,in XFCE/Thunar, while browsing Network I get the same result as 
using smbtree, i.e. less that really exists.
What can be the cause?
I'm on Debian Wheezy, so samba is quit old, maybe upgrading will fix the 
problem?
Thanks




More information about the samba mailing list