upgradedns: ensure lmdb lock files linked

Ensure that the '-lock' files for the dns partitions as well as the data
files are linked when running
  samba_dnsupgrade --dns-backend=BIND9_DLZ
failure to create these links can cause corruption of the corresponding
data file.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14199

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 0bd47914)
23 jobs for gary-bug-14199-v4-10 in 393 minutes and 51 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #398729529
docker shared
build_ctdb

00:33:44

passed #398729531
docker shared
build_others

00:11:38

passed #398786424
private docker
build_samba

04:55:27

passed #398729536
docker private
build_samba_ad_dc

01:38:22

passed #398729521
docker shared
build_samba_ad_dc_2

00:26:44

passed #398729524
docker shared
build_samba_ad_dc_2_py2

00:23:41

passed #398729522
docker shared
build_samba_ad_dc_backup

00:30:29

passed #398729523
docker shared
build_samba_ad_dc_backup_py2

00:22:59

passed #398729537
docker private
build_samba_ad_dc_py2

00:19:44

passed #398729532
docker shared
build_samba_buildpy2_only

00:16:45

passed #398729530
docker shared
build_samba_ctdb

00:17:04

passed #398729535
docker private
build_samba_fileserver

00:21:55

passed #398729525
docker shared
build_samba_libs

00:31:39

passed #398729527
docker shared
build_samba_libs_py2

00:33:34

passed #398729515
docker shared
build_samba_none_env

00:42:53

passed #398729516
docker shared
build_samba_none_env_py2

00:30:37

passed #398729517
docker shared
build_samba_nopython

00:25:38

passed #398729520
docker shared
build_samba_o3

00:31:53

passed #398729534
docker private
build_samba_py2

01:31:47

passed #398729528
docker shared
build_samba_static

00:40:53

passed #398729518
docker shared
build_samba_systemkrb5

00:14:11

passed #398729519
docker shared
build_samba_xc

00:04:46

failed #398729533
docker private
build_samba

01:57:40