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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to