Resolves: rhbz#1601944 - Samba AD is broken with samba 4.8.3 update (and libldb)
libldb-1.4.0 was not tested with samba-dc-4.8.x.
This patch use fake downgrade to 1.3.4 which works well with samba-4.8
sh [~/samba]$ git branch -r --contains ldb-1.3.4
origin/v4-8-stable
origin/v4-8-test
sh [~/samba]$ git branch -r --contains ldb-1.4.0
origin/HEAD -> origin/master
origin/master
origin/v4-9-stable
origin/v4-9-test
It is not ideal solution but we decided to avoid introducing epoch.
Upgrade patch from f27 is not a problem because libldb >= 1.3.2 works
well with any version of sssd without rebuilding and samba-dc has strict
requires on libldb.
There are following auto-generated requires in samba-dc
Requires: libldb = 1.3.2 in fc27
Requires: libldb = 1.4.0 in fc28 (libldb-1.4.0-1.fc28.1.3.4.1 would match)
Requires: libldb = 1.4.1 in fc29