[Samba] trouble with shadow_copy2

Michael Tokarev mjt at tls.msk.ru
Thu Dec 8 09:55:35 UTC 2022


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