[Samba] Re: Winpopup message to all user on a PDC
Marco De Vitis
starless at supereva.it
Tue Jul 1 13:02:33 GMT 2003
Il 01/07/2003, alle ore 14:19, Roberto Samarone Araujo (RSA) ha scritto:
> It it possible to send messages to all users logged in a PDC at same
> time ?
I didn't find a ready-to-use program, so I use something like this
inside an executable script:
for i in $(cat /path/clientlist.txt)
do
echo message_text | smbclient -M $i &
done
clientlist.txt is an ASCII file containing a list of all NetBIOS names
of the PCs in the network, e.g.:
ACCOUNTING
JOHN
BILL_PC
SHARED
etc...
message_text is the text you want to send.
--
Ciao,
Marco.
..."The Lamb Lies Down on Broadway", Genesis 1974
More information about the samba
mailing list