[samba] smbtree and dolphin network browsing gives nothing

Situation: http://paste.opensuse.org/63851664

I got three samba servers: antares (42.2: pdc) rasalgethi (42.2: not a pdc) and sirius (13.2 not a pdc) on the network.

  1. sirius can see samba servers using smbtree -S and the shares with **smbtree

http://paste.opensuse.org/53387901

http://paste.opensuse.org/5118354

**2.antares and rasalgheti could be accessed in command line with mount.cifs for example but not with dolphin…

  • from rasalgethi -> nothing
  • from antares -> nothing
  • from sirius -> ok

http://paste.opensuse.org/38625611

When using smbtree -d 4 from antares I got

lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[global]"
doing parameter add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
doing parameter domain logons = Yes
doing parameter domain master = Yes
doing parameter local master = Yes
doing parameter netbios name = ANTARES
doing parameter os level = 65
doing parameter passdb backend = smbpasswd
doing parameter preferred master = Yes
doing parameter security = user
doing parameter usershare allow guests = No
doing parameter wins support = Yes
doing parameter workgroup = DEZORDI.WORLD
doing parameter server string = antares (PDC)
pm_process() returned Yes
added interface eth0 ip=192.168.0.3 bcast=192.168.0.255 netmask=255.255.255.0
Enter root's password: 
Unable to find master browser for workgroup DEZORDI.WORLD, falling back to broadcast
name_resolve_bcast: Attempting broadcast lookup for name __MSBROWSE__<0x1>
nmb packet from 192.168.0.3(35072) header: id=5571 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 E000C0A80003
Got a positive name query response from 192.168.0.3 ( 192.168.0.3 )
nmb packet from 192.168.0.3(35072) header: id=5571 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 E000C0A80003
Got a positive name query response from 192.168.0.3 ( )
Unable to find master browser by broadcast

from rasalgethi…

lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[global]"
doing parameter workgroup = DEZORDI.WORLD
doing parameter passdb backend = smbpasswd:/etc/samba/smbpasswdfile
doing parameter printing = cups
doing parameter printcap name = cups
doing parameter printcap cache time = 750
doing parameter cups options = raw
doing parameter map to guest = Bad User
doing parameter usershare allow guests = No
doing parameter domain logons = No
doing parameter domain master = No
doing parameter netbios name = RASALGETHI
doing parameter security = user
doing parameter wins support = Yes
doing parameter server string = rasalgethi
pm_process() returned Yes
added interface eth0 ip=192.168.0.8 bcast=192.168.0.255 netmask=255.255.255.0
Enter root's password: 
Unable to find master browser for workgroup DEZORDI.WORLD, falling back to broadcast
name_resolve_bcast: Attempting broadcast lookup for name __MSBROWSE__<0x1>
nmb packet from 192.168.0.3(35072) header: id=29312 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 E000C0A80003
Got a positive name query response from 192.168.0.3 ( 192.168.0.3 )
nmb packet from 192.168.0.3(35072) header: id=29312 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 E000C0A80003
Got a positive name query response from 192.168.0.3 ( )
nmb packet from 192.168.0.3(35072) header: id=31849 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 .ANTARES           hex 09414E54415245532020202020202020
    answers  10 char .d.ANTARES         hex 006400414E5441524553202020202020
    answers  20 char   .d.ANTARES       hex 2020036400414E544152455320202020
    answers  30 char      d...__MSBRO   hex 2020202020640001025F5F4D5342524F
    answers  40 char WSE__....DEZORDI   hex 5753455F5F0201E40044455A4F524449
    answers  50 char .WORLD  ...DEZOR   hex 2E574F524C44202000E40044455A4F52
    answers  60 char DI.WORLD  .d.DEZ   hex 44492E574F524C4420201B640044455A
    answers  70 char ORDI.WORLD  ...D   hex 4F5244492E574F524C4420201CE40044
    answers  80 char EZORDI.WORLD  .d   hex 455A4F5244492E574F524C4420201D64
    answers  90 char .DEZORDI.WORLD     hex 0044455A4F5244492E574F524C442020
    answers  a0 char ................   hex 1EE40000000000000000000000000000
    answers  b0 char ................   hex 00000000000000000000000000000000
    answers  c0 char ................   hex 00000000000000000000000000000000
    answers  d0 char .   hex 00
Unable to find master browser by broadcast

antares: 192.168.0.3 (pdc)
rasalgethi: 192.168.0.8
sirius: 192.168.0.4

Instead of this:

smbtree -S

Try this:

smbtree -N

I also see/think that you might have configured your Linux to be a domain server, which probably is not what you want. Yoy probably need to configure as a WORKGROUP. There’s a bit more about the same thing happening for user lutze: check out this link for suggestions https://forums.opensuse.org/showthread.php/527178-smbclient-gives-NT_STATUS_NO_MEMORY

And have a read of this https://forums.opensuse.org/content.php/199-Configure-Samba-for-Local-Lan-Workgroup

I would like you to work it out, but if you are still puzzled, then paste here the setup that you have, and we might be able to make suggestions. Run this command to see the setup:

cat /etc/samba/smb.conf 

I have to say this configuration worked perfectly when all servers ran 13.2… now the two 42.2 servers are not running samba as well. The yast and .conf files are strictly the same in 42.2.

netstat -anp --tcp are saying the same for the whole servers… listening on 139 and 443 ports.

I tested with firewall off on the whole servers… still nothing in dolphin → network → samba shares for both 42.2 servers. Got only one 13.2 server working perfect.
firewall on same situation with 42.2 servers and 13.2 still browse dolphin and smbtree -S gives answer.

digging… for more knowledge and experience ^^