[Pkg-samba-maint] updating samba to current upstream

Andrew Bartlett abartlet at samba.org
Tue Mar 22 22:34:37 GMT 2022


On Wed, 2022-03-23 at 01:27 +0300, Michael Tokarev wrote:
> Ok.  What's the command/procedure you usually use to update the
> "subsources" of samba source (like ldb/talloc) to a new upstream
> version? Sort of like d/README.source in samba?

None.  These live in the main samba repo and are packaged normally in
Samba's tarball.  But we also have release scripts which can prepare
tarballs of the 'subpackages'. 

> And one more question: ldb. It looks like it is really tied with the
> samba version (not a surprise since this is the layout of the windows
> "registry" used by the domain controller).  Is ldb backwards-
> compatible?

Not really for Samba. 

> I mean, right now with 4.15 version of samba, ldb is at version 2.4,
> while just-released 4.16 samba comes with ldb 2.5.  So the practical
> question is: will samba 4.15 work with ldb 2.4? Or should it, or does
> it _usually_ work?

No.  Samba uses ldb headers that we don't provide ABI promises for,
particularly for ldb modules.

That is why the versions must match exactly.

sssd by rights should be in the same category, but has decided to take
changes on the _usually_ work case, as it has a very simple ldb module.

> I remember quite similar case with qemu and first bochsbios and next
> seabios - next samba version required next version of the bios
> together
> with some qemu-specific patches. But *usually* a later bios worked
> just
> fine with earlier qemu. It was on a case-by-case basis, and sometimes
> never samba worked with older bios too, or partly worked… ;) (but it
> worked just partly with the "native" version of bios as well, since
> both were buggy enough).  These days, one does need more recent bios
> _only_ if one uses some features which aren't available before, --
> like booting off an emulated NVME device for example. But we had a
> long road to here :)

I'm glad you have experience in this area!

Andrew Bartlett

-- 
Andrew Bartlett (he/him)       https://samba.org/~abartlet/
Samba Team Member (since 2001) https://samba.org
Samba Team Lead, Catalyst IT   https://catalyst.net.nz/services/samba

Samba Development and Support, Catalyst IT - Expert Open Source
Solutions




More information about the Pkg-samba-maint mailing list