Script to query ldap server of ncbs.