From owner-freebsd-questions Tue Aug 11 12:08:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA18749 for freebsd-questions-outgoing; Tue, 11 Aug 1998 12:08:01 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns.cityip.co.za (ns.cityip.co.za [196.25.223.140]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id MAA18693 for ; Tue, 11 Aug 1998 12:07:39 -0700 (PDT) (envelope-from wjv@cityip.co.za) Received: from wjv by ns.cityip.co.za with local (Exim 1.82 #2) id 0z6Jl4-0007MG-00; Tue, 11 Aug 1998 21:06:58 +0200 Message-ID: <19980811210658.A28275@cityip.co.za> Date: Tue, 11 Aug 1998 21:06:58 +0200 From: Johann Visagie To: "Susan R. O'Brien" , freebsd-questions@FreeBSD.ORG Subject: Re: Issuing the Windows NT "net" command from FreeBSD Mail-Followup-To: "Susan R. O'Brien" , freebsd-questions@FreeBSD.ORG References: <35D086FC.5B138081@mss.lucent.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <35D086FC.5B138081@mss.lucent.com>; from Susan R. O'Brien on Tue, Aug 11, 1998 at 02:01:32PM -0400 X-PGP: ftp://ftp.cityip.co.za/users/wjv/pubkey.asc Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 11 Aug 1998 at 14:01 SAT, Susan R. O'Brien wrote: > > I would like to use the Windows NT "net send" command to popup a dialog > box on any user's terminal on the network. > > Is there a comparable command in FreeBSD? If not, is there an easy way > I can issue this command from a C program? It would be nice if I didn't > have to use sockets. Fortunately, there's a much simpler way! Firt, install Samba (it's in the ports). Then look at the smbclient command (read its man page, if you wish). Specifically, it has a -M flag which can be used to send winpopup messages. -- V Johann Visagie | Email: wjv@CityIP.co.za | Tel: +27 21 419-7878 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message