Bug 30815 - Samba4 DC Slave nmbd has no clue about domain browselist despite windows/wins-server
Samba4 DC Slave nmbd has no clue about domain browselist despite windows/wins...
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 3.1
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-18 17:10 CET by Arvid Requate
Modified: 2016-10-11 08:01 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2013-03-18 17:10:43 CET
Setting: Samba4 Domain with master, slave and member. The slave is configured to use the master as wins server.

root@slave12:~# ucr search --brief wins
windows/wins-server: master10.arucs31i0.qa
windows/wins-support: no


While the UCS memberserver can lookup typical netbios names, the slave seems to have no clue about other Netbios entities in the domain. The master knows about himself and his role, but not about the slave:

root@member13:~# nmblookup ARUCS31I0
querying ARUCS31I0 on 10.200.8.255
10.200.8.13 ARUCS31I0<00>
10.200.8.10 ARUCS31I0<00>
10.200.8.12 ARUCS31I0<00>
root@master10:~# nmblookup ARUCS31I0
10.200.8.10 ARUCS31I0<00>
root@slave12:~# nmblookup ARUCS31I0
10.200.8.12 ARUCS31I0<00>

root@member13:~# nmblookup -M ARUCS31I0
querying ARUCS31I0 on 10.200.8.255
10.200.8.10 ARUCS31I0<1d>
root@master10:~# nmblookup -M ARUCS31I0
10.200.8.10 ARUCS31I0<1d>
root@slave12:~# nmblookup -M ARUCS31I0
name_query failed to find name ARUCS31I0#1d


root@member13:~# nmblookup ARUCS31I0#1b
querying ARUCS31I0 on 10.200.8.255
10.200.8.10 ARUCS31I0<1b>
root@master10:~# nmblookup ARUCS31I0#1b
10.200.8.10 ARUCS31I0<1b>
root@slave12:~# nmblookup ARUCS31I0#1b
name_query failed to find name ARUCS31I0#1b

root@member13:~# nmblookup ARUCS31I0#1c
querying ARUCS31I0 on 10.200.8.255
10.200.8.10 ARUCS31I0<1c>
10.200.8.12 ARUCS31I0<1c>
root@master10:~# nmblookup ARUCS31I0#1c
10.200.8.10 ARUCS31I0<1c>
root@slave12:~# nmblookup ARUCS31I0#1c
10.200.8.12 ARUCS31I0<1c>

log.nmbd on the slave says:
=====================================================================
[2013/02/13 04:44:11,  4] ../source3/nmbd/nmbd_workgroupdb.c:276(dump_workgroups)
  dump_workgroups()
   dump workgroup on subnet     10.200.8.12: netmask=  255.255.255.0:
        ARUCS31I0(1) current master browser = MASTER10
                SLAVE12 40019b0b (Univention Corporate Server)
                MASTER10 400c9b0b (Univention Corporate Server)
=====================================================================

Currently I don't know if there is any information to be gathered from the hex numbers. The /var/cache/samba/browse.dat on the master looks like this:
=================
"ARUCS31I0"               c0001000 "MASTER10"                    "ARUCS31I0"
"MASTER10"                400d9b0b "Univention Corporate Server" "ARUCS31I0"
"WORKGROUP"               c0001000 "MEMBER23"                    "WORKGROUP"
"MEMBER13"                40009b23 "member13 univention corporate server" "ARUCS31I0"
"SLAVE12"                 40019b0b "Univention Corporate Server" "ARUCS31I0"
=================
the same file on the salve looks like this:
=================
"ARUCS31I0"               c0001000 "MASTER10"                    "ARUCS31I0"
"SLAVE12"                 40019b0b "Univention Corporate Server" "ARUCS31I0"
"MASTER10"                400c9b0b "Univention Corporate Server" "ARUCS31I0"
=================



+++ This bug was initially created as a clone of Bug #30132 +++
Comment 1 Arvid Requate univentionstaff 2013-03-18 17:22:59 CET
At least the wins server on the master seems have some basic knowledge about the DCs in the domain:

root@slave12:~# nmblookup -U master10 -R 'ARUCS31I0#1c'
querying ARUCS31I0 on 10.200.8.10
10.200.8.12 ARUCS31I0<1c>
10.200.8.10 ARUCS31I0<1c>
169.254.142.229 ARUCS31I0<1c>   ## whatever this is..
Comment 2 Arvid Requate univentionstaff 2013-03-26 12:10:51 CET
Note: 169.254.0.0./16 is a link local address space, e.g. generated when DHCP is activated on a server but no reply is received.
Comment 3 Stefan Gohmann univentionstaff 2016-10-11 08:01:19 CEST
This issue has been filed against UCS 3.1.

UCS 3.1 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please reopen.