dirmngr: Interrogate LDAP server when base DN specified.
* dirmngr/ks-engine-ldap.c (my_ldap_connect): interrogate LDAP server when basedn specified.
(cherry picked from commit 3257385378bb3f19ebf089538f0efe2154487989)
- GnuPG-bug-id: T6047
- Signed-off-by: Joey Berkovitz <joeyberkovitz@gmail.com>