--- samba-4.12.0/source3/wscript_build.orig 2020-04-03 20:15:16.727118030 -0400 +++ samba-4.12.0/source3/wscript_build 2020-04-03 20:15:23.717075695 -0400 @@ -514,7 +514,7 @@ bld.SAMBA3_LIBRARY('secrets3', bld.SAMBA3_LIBRARY('smbldap', source='lib/smbldap.c', - deps='ldap lber samba-util smbconf', + deps='ldap lber samba-util smbconf samba-debug replace smbd_shim samba-security', enabled=bld.CONFIG_SET("HAVE_LDAP"), private_library=False, abi_directory='lib/ABI',