Win Pop-Up message
Justo Alonso Achaques
justo at creditoycaucion.es
Tue Aug 10 11:56:38 GMT 1999
On Tue, 10 Aug 1999, Panagiotis Malakoudis wrote:
> Does anyone know how I can setup samba to send a Pop Up message to all the
> window client that are connected notifing them whenever the smb daemon will
> shutdown?All this must be implemented under linux.
>
Well, one script ala wall command:
With the smbstatus report, get the machines and send it the message in
de file passed how argument.
for i in `smbstatus -S | grep "(<your ip range>" | awk '{print $5}' |
sort | uniq`
do
echo $i
smbclient -i 1 -M $i < $1
done
More information about the samba-ntdom
mailing list