[Pkg-freeradius-maintainers] Bug#1064542: please stop Build-Depending on samba-dev, use libwbclient-dev instead

Michael Tokarev mjt at tls.msk.ru
Fri Feb 23 22:46:18 GMT 2024


24.02.2024 01:21, Michael Tokarev:
> Source: freeradius
> Version: 3.2.3+dfsg-2
> Severity: important
> X-Debbugs-Cc: pkg-samba-devel at lists.alioth.debian.org
> 
> For a long time now, samba provides separate library libwbclient
> (together with development package) which is actually public
> (unlike the collection in samba-libs) and has stable API and ABI.
> As far as I can see, freeradius only needs winbindd, not whole
> samba.  samba-dev has too much private interfaces which should
> not be used.

Actually this turns out not to be that simple.

src/modules/rlm_mschap/auth_wbclient.c includes core/ntstatus.h,
which defines core WinNR status codes.  Without that, <wbclient.h>
is kind of useless.

It looks like we have to refine which headers are included in
which packages in samba.  Hmm..

/mjt



More information about the Pkg-freeradius-maintainers mailing list