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

Michael Tokarev mjt at tls.msk.ru
Mon Nov 18 07:12:42 GMT 2024


On Sat, 24 Feb 2024 01:46:18 +0300 Michael Tokarev <mjt at tls.msk.ru> wrote:
...
> > 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..
I fixed this in samba quite some time (was #1064544), in debian samba
release 2:4.19.6+dfsg-2 (May 2024).

Please switch to build-depend: libwbclient-dev (>> 2:4.19.6+dfsg-2~)
instead of referring to samba-dev.

Thanks,

/mjt



More information about the Pkg-freeradius-maintainers mailing list