added catch for info[0] not set after ldap_get_entries()