<div dir="ltr">After thinking about it, Puting everything which s in debian/samba-libexec-dcerpc.install into samba-common-bin would work.<div><br></div><div>Regards,</div><div><br></div><div>Matt Grant</div><div>Debian Developer</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 13 Jun 2022 at 21:14, Matt Grant <<a href="mailto:matt@mattgrant.net.nz">matt@mattgrant.net.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">PS: Also have tested new package and winbind now does work by itself for getgroups(3) and initgroups(3), ie kerberos logins over ssh work again!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 13 Jun 2022 at 21:12, Matt Grant <<a href="mailto:matt@mattgrant.net.nz" target="_blank">matt@mattgrant.net.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Michael!<div><br></div><div>For the libraries to move from the samba package, just used the following command on each rpcd binary in /usr/libexec/samba:</div><div><br></div><div>dpkg -S `ldd rpcd_epmapper | grep samba | cut -f 1 -d ' '`<br></div><div><br></div><div>You could put the contents of this new package ( ie debian/samba-libexec-dcerpc.install) into the  samba-libs package, or samba-common-bin...  Samba-libs was my first thought if not creating a new package.</div><div><br></div><div>Adding the new samba-libexec-dcerpc package to the archive in my experience is not much of a problem actually. When I have had to create a fresh package as part of an already in archive source (no licensing evaluation needed), the FTP Master team only took a few days to add the new package.  You can email <a href="mailto:ftpmaster@debian.org" target="_blank">ftpmaster@debian.org</a> ahead of the upload to check how long it will take them to get on to it, or you can put it through experimental?  Sid is 'unstable' for a reason.</div><div><br></div><div>Here is a good reason for the new package:  samba-dcerpcd and rpcd_* are needed for support binaries for in-kernel ksmbd, though what that will need exactly will require more fleshing out no doubt.  The new package is a start. Check the samba-dcerpcd man page, it helped me work out what to put in the new package, as samba-dcerpcd can call any of the /usr/libexec/samba/rpcd_* binaries</div><div><br></div><div>Hope that all helps.</div><div><br></div><div>Matt Grant</div><div>Debian Developer</div><div><br></div><div><br></div><div><br></div><div>Best Regards,</div><div><br></div><div>Matt Grant</div><div>Debian Developer</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 13 Jun 2022 at 20:18, Michael Tokarev <<a href="mailto:mjt@tls.msk.ru" target="_blank">mjt@tls.msk.ru</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">13.06.2022 10:46, Matt Grant wrote:<br>
> Hi!<br>
> <br>
> Please find attached the patch I made to fix this issue.<br>
> <br>
> It moves the DCE RPC binaries in /usr/libexec/samba into their own package along with required libs from the samba package creating the <br>
> samba-libexec-dcerpc package, and makes samba and winbind depend on it, thus solving all the issues.<br>
<br>
Matt, how did you find out the 2 libs -- libRPC-SERVER-LOOP-samba4.so.0 &<br>
libREG-FULL-samba4.so.0 - which can be moved to the new package too, out<br>
of many other libraries in there?<br>
<br>
Thanks!<br>
<br>
/mjt<br>
</blockquote></div>
</blockquote></div>
</blockquote></div>