[Samba] classifying samba componens and sorting into debian binary packages

Michael Tokarev mjt at tls.msk.ru
Sun May 26 09:51:06 UTC 2024


26.05.2024 06:53, Douglas Bagnall пишет:
> On 26/05/24 03:00, Michael Tokarev via samba wrote:
>> There's also /usr/sbin/samba_kcc in there, - should go either to samba-ad-client
>> or samba-ad-dc, I can't understand which one.
> 
> samba-ad-dc. It is called by the server.

Are samba_dnsupdate & samba_spnupdate also ad-dc-only?

I see these are called from the server (dnsupdate_task_init() in
source4/dsdb/dns/dns_update.c), but is also mentioned in, eg,
python/samba/join.py, - though there it isn't used directly.

So it looks like these should be part of samba-ad-dc too.

With that in mind, I don't see value in having samba-ad-client
package, which becomes a package with just 2 python scripts
(samba-tool and samba-gpupdate), which can live in samba-common-bin.
Yes it needs python3-samba, but it's trivial to make it optional.

>>> BTW, do we really need samba_downgrade_db these days?  Changing format to the
>>> one used by samba 4.7, srsly?  I'd just remove this one :)
> 
> Yeah, maybe. It's there in case you just upgraded from 4.7 and found something went wrong, but I don't know if that has ever happened in practice.

Well, if it's part of samba-ad-dc which depends on all the python
stuff anyway, it's not a big deal at all.

Thanks,

/mjt
-- 
GPG Key transition (from rsa2048 to rsa4096) since 2024-04-24.
New key: rsa4096/61AD3D98ECDF2C8E  9D8B E14E 3F2A 9DD7 9199  28F1 61AD 3D98 ECDF 2C8E
Old key: rsa2048/457CE0A0804465C5  6EE1 95D1 886E 8FFB 810D  4324 457C E0A0 8044 65C5
Transition statement: http://www.corpit.ru/mjt/gpg-transition-2024.txt




More information about the samba mailing list