[Samba] Browing in Samba4 AD domain

CpServiceSpb cpservicespb at gmail.com
Fri Apr 29 20:15:38 UTC 2016


Hi, all.
I recently (last or before last month) was up such topic.
If tou look at messages started by my on this year, you can possible see it.

So, let's I will remember, that browsing is not the same as Wins.
Wins is one of NetBios name resolving way with broadcast which is other one.
But browsing, in other words, neighborhood functionality is ability to 
collect/show/see names of NetBios resources, that are computers/other 
resources (printers for example) in neighborhood and click at the 
resource to access it.
Of course, browsing is not able to work without name resolution.

Regarding Samba4 acting as AD, I need so.
It is very useful for me, in particular.
Even there was discussion about it (usefulness or usefulless and 
necessarity of it) on pages of Samba mailing list. Sometimes it was 
quite hard.
But at the moment there absence code part serving or providing such 
functionlaity in nbt 'component' .

More over, I don't understand what nbt is for at the time, actually 
intended.

So, I started to port/move/add code from nmbd to nbt.

But starting from some of the nearest Samba4 version, I have to revise 
it due to some changes in it.
But now I don' t have enough time for it.



22.04.2016 23:56, Jason Voorhees пишет:
> I actually have nmbd running on my Samba 3.x domain member server.
> Does nmbd need an special setup for maintaining the network browsing
> list for windows machines?
>
> On Fri, Apr 22, 2016 at 3:20 AM, mathias dufresne <infractory at gmail.com> wrote:
>> I would say you need nmbd for browsing...
>>
>> 2016-04-19 14:16 GMT+02:00 Jason Voorhees <jvoorhees1 at gmail.com>:
>>> Hello guys, Rowland :)
>>>
>>> I recently had the opportunity to configure a Samba 3.x server which
>>> acts as a WIN server. For testing purposes only, I've configured a
>>> group of 4 Windows machines to use my Samba 3.x host as WINS server
>>> but unfortunately those 4 hosts were not able to see each other in the
>>> windows browsing list. I might guess WINS is only providing NetBIOS
>>> name resolution but no machine browsing feature. Am I right?
>>>
>>> Thanks you all for your help
>>>
>>> On Fri, Apr 1, 2016 at 5:44 PM, Jason Voorhees <jvoorhees1 at gmail.com>
>>> wrote:
>>>> Thanks again Rowland. It isn't 100% clear to me yet, hehe :p, but it's
>>>> time
>>>> for testing, debugging and posting with my results.
>>>>
>>>>
>>>>
>>>> On Fri, Apr 1, 2016 at 2:21 PM, Rowland penny <rpenny at samba.org> wrote:
>>>>> On 01/04/16 19:51, Jason Voorhees wrote:
>>>>>> If AD domains are based on DNS and WINS relies on NetBIOS, what
>>>>>> protocol(s) are used by computers to create and see (browse) all the
>>>>>> machines of the domain?
>>>>>
>>>>> As far as Samba is concerned it uses both, DNS & NetBIOS, but instead
>>>>> of
>>>>> using WINS, it uses DNS to find the machines and then 'nmbd' produces
>>>>> the
>>>>> browsing list (this is how I understand it works)
>>>>>
>>>>> I have two DCs and a domain member running as a server, I do not uses
>>>>> WINS
>>>>> (well not as a setting in smb.conf) but the other Linux machines
>>>>> (including
>>>>> the member server) show up if I browse the network, the two DCs do not.
>>>>>
>>>>> This is down to the 'nbt' portion of the 'samba' daemon not having the
>>>>> required code to browse the network. You should also be aware that you
>>>>> cannot run 'nmbd' on a DC, it will conflict with 'nbt'
>>>>>
>>>>> Rowland
>>>>>
>>>>>> While it's clear to me that a hostname will resolve to an IP address
>>>>>> through DNS queries, I'm not sure how is the browsing list created and
>>>>>> maintained. In old NT style domain, any computer of the domain could
>>>>>> be
>>>>>> selected to act as a master browser, and the use of WINS could just
>>>>>> simplify
>>>>>> this by having all the machines registered to the WINS server based on
>>>>>> NetBIOS names.
>>>>>>
>>>>>> So now in a Samba4 AD domain, does it make sense the concept of master
>>>>>> browser yet? Who maintains a browsing list? If any, how is this
>>>>>> browsing
>>>>>> list maintained? is it based on NetBIOS or DNS or both? I'm asking
>>>>>> this
>>>>>> because regardless of the fact that I have 2 Samba4 AD controllers
>>>>>> without
>>>>>> browsing features built-in, I am still being able to see certain
>>>>>> machines in
>>>>>> my network. So I guess "someone" is in keeping some kind of browsing
>>>>>> list
>>>>>> active.
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> To unsubscribe from this list go to the following URL and read the
>>>>> instructions:  https://lists.samba.org/mailman/options/samba
>>>>
>>> --
>>> To unsubscribe from this list go to the following URL and read the
>>> instructions:  https://lists.samba.org/mailman/options/samba
>>
>




More information about the samba mailing list