[Samba] trouble with shadow_copy2

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


But in principle it should work like this, right? At least the datetime conversion works on command line...

> On Thursday, Dec 08, 2022 at 1:00 AM, Jeremy Allison <jra at samba.org (mailto:jra at samba.org)> wrote:
> On Wed, Dec 07, 2022 at 11:29:18PM +0100, 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)
> > [2022/11/17 18:27:38.865133, 0] ../../source3/smbd/vfs.c:185(vfs_init_custom)
> > error probing vfs module 'shadow_copy2': NT_STATUS_UNSUCCESSFUL
> > [2022/11/17 18:27:38.865148, 0] ../../source3/smbd/vfs.c:399(smbd_vfs_init)
> > smbd_vfs_init: vfs_init_custom failed for shadow_copy2
> > [2022/11/17 18:27:38.865160, 0] ../../source3/smbd/service.c:638(make_connection_snum)
> > make_connection_snum: vfs_init failed for service MyShare
>
> Something is wrong with this package. The shadow_copy2.so
> shared library doesn't match.


More information about the samba mailing list