Remove unused finddcs_nbt (Re: [SCM] Samba Shared Repository - branch master updated)

Alexander Bokovoy ab at samba.org
Fri Jun 8 04:16:48 MDT 2012


On Fri, Jun 8, 2012 at 12:01 PM, Volker Lendecke
<Volker.Lendecke at sernet.de> wrote:
> On Fri, Jun 08, 2012 at 06:46:48PM +1000, Andrew Bartlett wrote:
>> On Fri, 2012-06-08 at 09:35 +0200, Stefan (metze) Metzmacher wrote:
>> > Hi Andrew,
>> >
>> > > commit 06c90cb6f55701effa4cbafaf189a4de8471949b
>> > > Author: Andrew Bartlett <abartlet at samba.org>
>> > > Date:   Thu Jun 7 14:21:25 2012 +1000
>> > >
>> > >     s4-libcli: Remove unused finddcs_nbt
>> > >
>> > >     This would only do the NBT getdc lookup for a single DC (but would
>> > >     find multiple DCs at first stage), but more particular it of course
>> > >     uses Netbios rather than DNS names.
>> > >
>> > >     In any case it was also unused, as we use CLDAP for reliable DC
>> > >     location these days.
>> > >
>> > >     Found by callcatcher
>> >
>> > I think it's a bug that it's not used.
>> >
>> > Samba3 DCs doesn't support CLDAP.
>>
>> Yes, I know that, but the source4/winbindd code has very little hope of
>> becoming a working member of an NT4-like domain and we have the
>> source3/winbind code for that.
>
> It is not only the member case. The most important role of
> winbind on a DC is to take care of trusts. For migration
> scenarios, I would expect many users to create trusts from
> S4 to existing S3 domains, so whatever winbind is chosen
> needs to be able to connect to those.
Agree. Also this is libcli from s4 which means it affects resolving
from python bindings. That code (client-side using s4 python bindings)
is certainly interested in contacting both AD and s3 DCs by all
possible means if needed.

-- 
/ Alexander Bokovoy


More information about the samba-technical mailing list