Cannot build libldb lmdb backend on a build without AD DC. This should be possible as there are projects like sssd using libldb with lmdb backend.
This bug was referenced in samba master: fdef894d79793feafc286ff9e21cb01e4c777b26
Created attachment 18456 [details] patch for 4.21
Comment on attachment 18456 [details] patch for 4.21 LGTM.
Jule, please apply the patch to 4.21. Thanks!
Pushed to autobuild-v4-21-test.
This bug was referenced in samba v4-21-test: 0b3e0bc29200efa4577fd40d9cf8a6a7d7c5d7ba