RE: [Samba] Pop-up messages to domain members?

2004-02-13 Thread flinchlock
> 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

RE: [Samba] Pop-up messages to domain members?

2004-02-12 Thread flinchlock
> 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

Re: [Samba] Pop-up messages to domain members?

2004-02-12 Thread Andrew Gaffney
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

Re: [Samba] Pop-up messages to domain members?

2004-02-12 Thread Michael Brown
-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

RE: [Samba] Pop-up messages to domain members?

2004-02-12 Thread Anders Norrbring
> > > 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

Re: [Samba] Pop-up messages to domain members?

2004-02-12 Thread flinchlock
> 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

[Samba] Pop-up messages to domain members?

2004-02-12 Thread Anders Norrbring
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