[Samba] trouble with shadow_copy2

Alexander Harm || ApfelQ alexander.harm at apfelq.com
Thu Dec 8 14:12:46 UTC 2022


Hmmm, I’m not aware of anything broken. I did indeed have some issue coming from Louis’ packages but I checked and all samba* packages were of backports and up to date. I also ran apt install —reinstall to make sure. But as I’ve written before, this error did not show again since a reboot. The shadow_copy stuff however, still does not work.

> On Thursday, Dec 08, 2022 at 10:55 AM, Michael Tokarev <mjt at tls.msk.ru (mailto:mjt at tls.msk.ru)> wrote:
> 08.12.2022 11:59, Michael Tokarev via samba wrote:
> > 08.12.2022 01:29, Alexander Harm || ApfelQ via samba wrote:
> > > Hello,
> > >
> > > I’m running Samba 4.17.3 on Debian Bullseye installed from backports. The shares are located on btrfs subvolumes and we are trying to map them into
> > > Windows’ previous versions using shadow_copy2.
> > >
> > > I noticed that at some point it stopped working and we have the following error in the logs:
> > >
> > > [2022/11/17 18:27:38.865103, 0] ../../lib/util/modules.c:49(load_module)
> > > Error loading module '/usr/lib/x86_64-linux-gnu/samba/vfs/shadow_copy2.so': /lib/x86_64-linux-gnu/libsmbconf.so.0: version `SMBCONF_0.0.1' not found
> > > (required by /usr/lib/x86_64-linux-gnu/samba/vfs/shadow_copy2.so)
> >
> > This is definitely an issue with the packaging. Please check if you have
> > package samba-vfs-modules of the same version as samba package.
>
> I don't see how it's possible to install samba-vfs-modules and samba of
> the different versions, since both depends on the exact version of samba-libs.
>
> It looks like you have /lib/x86_64-linux-gnu/libsmbconf.so.0 from samba-libs 4.13.
>
> Do you have broken /usr merge, so that you have /lib/ and /usr/lib/ stuff
> intermixed?
>
> /mjt


More information about the samba mailing list