Call me remarkably, overly paranoid if you will, but from personal experience there are very few valid, non-spam-oriented uses for the sort of application you're after.
Looking at your previous posts, this seems to be a question you've asked before, with, in fact, an answer there that seems to have spawned the question you've asked here.
In my opinion, if what you're doing is valid, there are better, more reliable ways of achieving something like this. Remember that the Windows Messaging service isn't guaranteed, and, more and more often, especially on corporate machines (at least where I work), it's been disabled because of security/spam problems with it. In addition, popups like these will get blocked by any half-decent desktop firewall. If this is something business critical, I'd suggest e-mailing or paging/SMSing your clients, both of which can trivially be achieved with Perl.
-- Foxcub
#include www.liquidfusion.org.uk
| [reply] |
there's a good reason why net send doesn't work over the internet...so people don't send popups everywhere! This bit of protection is afforded by ISP firewalls and people not turning on netbios over tcp/ip on their internet connection. there is a module that does a net send, but it's not going to work for you as outlined above. | [reply] |
I see it being a little bit of a security issue, if you are accepting these messages from the internet. I know you can use smbclient -M <hostname> to send a message from a linux to windows machine on the same lan. I don't know if you could get it to work over the internet, or even if you can, what kind of problems it may cause, but you can try it out. | [reply] |
hi dear thanks for your reply
but when i run smbclient -M dns or smclient 192.168.10.2 it :
root@SEPEHR root# smbclient -M dns
added interface ip=192.168.10.2 bcast=192.168.10.255 mask=255.255.255.0
Cannot resolve name dns#0x3
and with ip address again i get this error.
i am using linux redhat 9.0 and smb is started but not configured.
is it necessary to configure it?
and what is my problem?
Best Regurd.
my email address: ralijani@yahoo.com
| [reply] |
smbclient -M requires a NETBIOS name. If your windows machines aren't running netbios, then this won't work. There is a smbclient -I, which lets you send to an IP, which may be more what you want but I can't get it to work. Maybe you'll have better luck.
It doesn't need much configuring. You may have to edit smb.conf to change your WORKGROUP and NETBIOS name.
| [reply] |