correct ldapsearch request.