> Well, I knew that.. But I need to do it from a linux server, not
> a Windows
> machine. I.e. from linux to all connected Win workstations.
>
> Anders.
OK, I'll try again...
Pls see /usr/share/doc/packages/samba/examples/misc/wall.perl
"A perl script which allows you to announce whatever you
> Well, I knew that.. But I need to do it from a linux server, not
> a Windows
> machine. I.e. from linux to all connected Win workstations.
Duuh! I must not had enough coffee today!! Of course you
weren't asking about WinDoze.
Sorry! :-o
--
To unsubscribe from this list go to the followi
I wrote a small script for doing this very thing and posted it here about a month or two back:
#!/usr/bin/perl
my $msg = shift;
open PIPE, "smbstatus |";
foreach $line () {
if($line =~ /\d+\s+(\S+)\s+\S+\s+(\S+)\s+\((.+)\)/) {
system "echo '$msg' | smbclient -M $2 -I $3";
}
}
Michael Brow
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I don't believe you can send a message to a whole domain using smbclient (please
someone correct me if I'm wrong), I think you will have to do it one at a time, or
write a script:
$ smbclient -M host
Hope this helps.
Michael Brown
On Thu, 12 Fe
>
> > Is it possible to send a pop-up message to all connected Windows
> > stations in a
> > whole domain via one command, or is it necessary to send one
> > message per
> > command to each station?
>
> PER HELP on Windows XP...
>
> Net send
>
> Sends messages to other users, computers, or mes
> Is it possible to send a pop-up message to all connected Windows
> stations in a
> whole domain via one command, or is it necessary to send one
> message per
> command to each station?
PER HELP on Windows XP...
Net send
Sends messages to other users, computers, or messaging names on the
networ
Is it possible to send a pop-up message to all connected Windows stations in a
whole domain via one command, or is it necessary to send one message per
command to each station? It must be a command line utility since X isn't
running on the server.
Anders Norrbring
--
To unsubscribe from this