eliminates ldap deprecation warning