Added a script to query ldap server.