[PATCH] Create a custom testenv from backup-file for manual testing
Andreas Schneider
asn at samba.org
Thu Nov 8 06:42:25 UTC 2018
On Wednesday, 7 November 2018 21:27:43 CET Tim Beale wrote:
> Hi Andreas,
>
> OK, that's weird. Do you have the lmdb-utils package installed? It's
> needed for mdb_copy(), which samba-tool is trying to run at the point it
> fails.
ah, I didn't have the lmdb package installed ...
Now the error changed to:
[47(620)/53 at 2m36s, 1 errors]
samba.tests.netlogonsvc.python(offlinebackupdc).python3(offlinebackupdc)
ERROR(runtime): uncaught exception - Unable to load default file
File "bin/python/samba/netcmd/__init__.py", line 184, in _run
return self.run(*args, **kwargs)
File "bin/python/samba/netcmd/domain_backup.py", line 222, in run
lp = sambaopts.get_loadparm()
File "bin/python/samba/getopt.py", line 94, in get_loadparm
self._lp.load_default()
Failed to create backup using:
NSS_WRAPPER_HOSTS='/home/asn/workspace/projects/samba/st/hosts'
SOCKET_WRAPPER_DEFAULT_IFACE="41" RESOLV_WRAPPER_HOSTS="/home/asn/workspace/
projects/samba/st/dns_host_fil
e" KRB5_CONFIG="/home/asn/workspace/projects/samba/st/backupfromdc/etc/
krb5.conf" KRB5CCNAME="/home/asn/workspace/projects/samba/st/restoredc/
krb5_ccache" ./bin/samba-t
ool domain backup online --server=127.0.0.40 -UAdministrator%locDCpass1 --
targetdir=/home/asn/workspace/projects/samba/st/tmp/TLEybH67BV at /home/asn/
workspace/projects/s
amba/selftest/target/Samba4.pm line 2701.
failed to start up environment 'restoredc' at /home/asn/workspace/projects/
samba/selftest/target/Samba.pm line 83.
samba can't start up known environment 'restoredc' at /home/asn/workspace/
projects/samba/selftest/selftest.pl line 983.
--
Andreas Schneider asn at samba.org
Samba Team www.samba.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
More information about the samba-technical
mailing list