[Pkg-samba-maint] Bug#1012240: winbind does not return AD groups a user is a member of AT ALL, or only one

Michael Tokarev mjt at tls.msk.ru
Mon Jun 13 15:03:14 BST 2022


13.06.2022 12:12, Matt Grant wrote:
> Hi Michael!
> 
> For the libraries to move from the samba package, just used the following command on each rpcd binary in /usr/libexec/samba:
> 
> dpkg -S `ldd rpcd_epmapper | grep samba | cut -f 1 -d ' '`

I suspected it was something like that.

The problem here is that the two libs you moved from
samba to the new dcerpc package, are also used by the
samba package itself.  By moving stuff like this, it
is too easy to create a circular dependency, which we
had quite a few in the past.  I placed libs into the
samba package (and to winbind package and some other
cases) *only* when those libs are used by those packages
and not by other packages. The rest of libraries -
the ones which are used by more than a single package -
goes to samba-libs.  Again, maybe I'm wrong there.

Just thought that these libs which are used by a single
package *now*, may be used by more than a single package
in the future, and I should have a way to check for that,
maybe similar to how I check for unneeded inter-package
deps in d/rules already, but for more packages.

BTW, you forgot the manpage for samba-dcerpcd.

For now I moved the executables into samba-common-bin
and the two libs into samba-libs. Let's see how it will
be, maybe we'll create a new package for it.

Thank you for the work and for the inspiration!

/mjt



More information about the Pkg-samba-maint mailing list