NXP-14413: add method to check LDAP connection