[Samba] ShowMessage (second attempt)
Ow Mun Heng
ow.mun.heng at wdc.com
Thu May 22 04:14:07 GMT 2003
This could help..
[root@]# smbclient -M PC_name
added interface ip=129.xxx.xxx.xxx bcast=129.xxx.xxx.255 nmask=255.255.248.0
Got a positive name query response from PC_name_IP ( PC_Name_IP)
Connected. Type your message, ending it with a Control-D
This will only work with WIn2K/NT workstations due to Messenger service
being Run automatically. YOu need winpopup for Win 98.
Else you could also try
echo "MEssage" | smbclient -M PC_Name
Hope this help all those concerned.
PS: someone just needs to write a script to grep the users (from smbstatus
output, 1st column) and then send the message. Seems like a good idea to me.
I'll toy with it see if I can get anywhere.
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-----Original Message-----
From: Ifan Jones [mailto:ifan at draig.co.uk]
Sent: Wednesday, May 21, 2003 4:16 PM
To: samba at lists.samba.org
Subject: RE: [Samba] ShowMessage (second attempt)
I'll second this request - I can't find any mention of this anywhere!
-----Original Message-----
From: Nicholas Metsovon [mailto:nmetsovo at yahoo.com]
Sent: 20 May 2003 16:45
To: samba at lists.samba.org
Subject: [Samba] ShowMessage (second attempt)
Surely someone out there knows how to notify their
Windows users that access to their samba server is
going to be terminated....
Any help will be *greatly* appreciated.
------ Original Message -------
I would like to shut down samba before I begin my
backup routine. Before I do this, I would like to
send a message to the users who are logged in on their
Windows machines, asking them to log out. I would
prefer this to be like a ShowMessage dialog box, if
possible.
Could anyone please tell me how I can do this? A
Redhat tech support specialist told me he thinks this
is possible through samba or smb-client.
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list