Single binary to rule them all!

Stefan (metze) Metzmacher metze at samba.org
Wed Feb 20 02:18:08 MST 2013


Am 19.02.2013 19:24, schrieb Jeremy Allison:
> On Tue, Feb 19, 2013 at 02:13:06PM +1100, Andrew Bartlett wrote:
>> In terms of nmbd, my hope is that we can sort out the last details
>> missing from the source4 nbt server (given we went to the effort to
>> write a new, clean nbt server), but even then we can start nmbd for
>> now.  
> 
> "new and clean" doesn't necessarily mean "better" :-).
> 
> I've heard from OEMs that have switched to other smb fileserver
> than Samba that they still ship and use nmbd because 'it just
> works'. It really hasn't had to have any patches for a long
> time, and for code that runs as root that's quite impressive.

The last little bug fix in source4/nbt_server and source4/wrepl_server
were done 3 years ago:

  commit ea7ec4fb30a261cedb882c9325815679e5e20d57
  Author:     Stefan Metzmacher <metze at samba.org>
  AuthorDate: Mon Feb 1 14:39:13 2010 +0100

    s4:winsserver: reject name registrations with a scope length > 237

    This matches Windows 2008 behavior. Name releases are just ignored.

    metze

   source4/nbt_server/wins/winsserver.c |    9 +++++++++
   1 file changed, 9 insertions(+)

  commit 7a02a2ba80c2997947a2b2c48c33f8c7647f7471
  Author:     Stefan Metzmacher <metze at samba.org>
  AuthorDate: Sun Jan 31 18:59:41 2010 +0100

    s4:wrepl_server: truncate the scope of a netbios name to 237 bytes
as Windows 2008 does

    metze

   source4/wrepl_server/wrepl_apply_records.c |   14 ++++++++++++++
   1 file changed, 14 insertions(+)

Before there were some bug fixes in 2008.

And this code runs as 'samba4wins' product
(http://www.enterprisesamba.org/samba4wins/)
without any problems since then.

> Personally I'd rather move the few missing nbt parts into nmbd
> and leave it as a separate daemon than try and work out all
> the bugs again in a 'new and clean' codebase :-).

For AD DC's with replicate the AD-LDAP tree, it would be bad to rely
on a single 'nmbd' as wins server in the whole domain. We really
want wins replication in that case.

I think it's harder to implement wins replication into nmbd
than to add network browsing to the nbt service.

We may want to just recomment 'nmbd' for member servers and
use the 'nbt' service for AD DC's (as we currently do)
and wait for netbios to finally die completely.

metze


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130220/ccc04d04/attachment.pgp>


More information about the samba-technical mailing list