ldapsearch script