Bug#1064542: please stop Build-Depending on samba-dev, use libwbclient-dev instead

2024-02-23 Thread Michael Tokarev

24.02.2024 01:21, Michael Tokarev:

Source: freeradius
Version: 3.2.3+dfsg-2
Severity: important
X-Debbugs-Cc: pkg-samba-de...@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, 
is kind of useless.

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

/mjt



Bug#1064542: please stop Build-Depending on samba-dev, use libwbclient-dev instead

2024-02-23 Thread Michael Tokarev
Source: freeradius
Version: 3.2.3+dfsg-2
Severity: important
X-Debbugs-Cc: pkg-samba-de...@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.

Thanks,

/mjt