Dear all, as you already know, it is possible to send short winpopup messages to Win boxes using the command smbclient -M host. If a Win user wants to reply, it should be possible to use the Windows' WinPopUp GUI to reply, but the message gets lost somewhere. For example: smbclient -M winbox Added interface ip=192.1.1.125 bcast=192.1.1.255 nmask=255.255.255.0 Connected. Type your message, ending it with a Control-D Test sent 6 bytes This will cause a little message to appear on the Win9x box. Now, if I want to reply to the user, say "MARTIN", the Win box says the message has been successfully sent. I'd like to know *where*... Thanks for your time and help! Cheers, Martin -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Martin Mielke - SysAdmin Tel.: ++ 34 928 262299 c/. Albareda 54 - Atico Jaleo Development Team Fax : ++ 34 928 263504 E-35008 Las Palmas de GC martin@jaleo.idecnet.com http://www.jaleo.com/ Canary Islands / Spain "killing nature killing animals - don't disturb we love our chemicals" K.N.K.A. by Project Pitchfork =-=-=-=-=-=-=-=-=-=-=-=-[ echo "\$0&\$0">_;chmod +x _;./_ ]-=-=-=-=-=-=-=-=-=-=-
On Thu, 8 Nov 2001, patel nehal wrote:> hello, I am using samba-2.0. and i want to send popup messages to my > clients. My clients are mix client means windows 95, 98, ME, 2000, > linux , XP. I can send popup messages to windows 2000 clients but I > can not send messages to 95, 98, me. what is cousing problem. if > anything else required at client site then plz let me know. and if i > want to broadcast messages to all client then what command should i > use? currently i m using smbclient -M {hostname}.Winpopup.exe must be running on the WINdows 9x/ME clients. cheers, jerry --------------------------------------------------------------------- www.samba.org SAMBA Team jerry_at_samba.org www.plainjoe.org jerry_at_plainjoe.org --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
How do you send popup messages from the samba side to the windows clients. This would be a nice feature to use. jack At 07:21 AM 11/8/2001 -0600, Gerald (Jerry) Carter wrote:>On Thu, 8 Nov 2001, patel nehal wrote: > > > hello, I am using samba-2.0. and i want to send popup messages to my > > clients. My clients are mix client means windows 95, 98, ME, 2000, > > linux , XP. I can send popup messages to windows 2000 clients but I > > can not send messages to 95, 98, me. what is cousing problem. if > > anything else required at client site then plz let me know. and if i > > want to broadcast messages to all client then what command should i > > use? currently i m using smbclient -M {hostname}. > >Winpopup.exe must be running on the WINdows 9x/ME clients. > > > > > > > > > >cheers, jerry > --------------------------------------------------------------------- > www.samba.org SAMBA Team jerry_at_samba.org > www.plainjoe.org jerry_at_plainjoe.org > --"I never saved anything for the swim back." Ethan Hawk in Gattaca-- > > >-- >To unsubscribe from this list go to the following URL and read the >instructions: http://lists.samba.org/mailman/listinfo/samba
On Thu, 8 Nov 2001, Jack Malone wrote:> How do you send popup messages from the samba side to the windows > clients. This would be a nice feature to use.smbclient -M cheers, jerry --------------------------------------------------------------------- www.samba.org SAMBA Team jerry_at_samba.org www.plainjoe.org jerry_at_plainjoe.org --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
Re:> Date: Thu, 8 Nov 2001 21:06:48 -0500 > From: Joel Hammer <Joel@HammersHome.com> > To: Jack Malone <jmalone@horizonind.com>, samba@lists.samba.org > Subject: Re: popup messages > > I don't see any easy way to send pop up messages to all clients from linux > with smbclient -M. > If you have a win server, say your linux box, > smbclient -L winserver -N will list them all. You will then need to make a script to > extract the machines names, I fear. That can be a real pain. > Of course, if you have a list of all machines on your network, you could > just use that list, rather than mess around with extracting them from > smbclient -L winserver. > If you have a list of machine names in a file, ListOfNames, this might work: > while read i; do cat YourMessageFile | smbclient -M $i;done < ListOfNames > The good thing is you can customize it. > smbstatus will list only those currently logged in, for example. > smbstatus 2>/dev/null | cut -c40-70 | grep \( | sed 's/ .*//' | sort -u > This will get the current logged on machines. Naturally, any self respecting > linux scripter would pipe this output into the read command above! > There must be a better way. > Joel > > want to broadcast messages to all client then what command should i > > use? currently i m using smbclient -M {hostname}.But all that is working around something which feels as if it ought to have a better solution. So... A few months ago, I sketched out, and tested, some code for the 2.2.1a "smbd" which would implement just this, but more naturally. Let's look at the wider picture... The user-visible functionality we seem to be wanting (although hitherto not explicitly stated) is for the standard UNIX commands such as "wall" and "write" (the 'write' that allows one terminal user to write to another) to be available. So (executive summary!) that is what I implemented. I would be happy (more than that: pleased and delighted) to see this functionality rolled into Samba, and my code is available as a basis or example for the Samba Team if they wish. Details: Samba's session code includes "utmp", whose "ut_line" is a pseudo-terminal number, e.g. "smb/99". My code does the following: 1. Allows this optionally to be created as a pipe (e.g. "/dev/smb/99") via an smb.conf parameter; 2. "smbd" includes this in the set of sockets on which it listens; 3. Any data on it is encoded into WinPopup message blocks (sharing common code with the "smbclient" program). Note, incidentally, that allowing the creation of the pseudo-device also fixes a long-standing (but almost completely unrelated) problem with the "finger" command. So we possibly need a second parameter, equivelent to the UNIX "mesg", so that the device can still be created anyway (for sites that wish to fix the finger problem), but messaging not used. Can we agree on the principle of offering this functionality? My code is not perfect, and still needs work. But it is sufficient to demonstrate the principle to the Samba Team... Hope that helps (longer term!). -- : David Lee I.T. Service : : Systems Programmer Computer Centre : : University of Durham : : http://www.dur.ac.uk/t.d.lee/ South Road : : Durham : : Phone: +44 191 374 2882 U.K. :
Hi, Although everything is set up in the global section for message command, samba doesn't deliver messages sent to the entire domain. It only delivers messages sent to my netbios name. What can I do to enable it? -- Raffael Ferenc Developer Inter-Eur?pa Bank +36-1-373-6495
post your conf file -----Original Message----- From: Ferenc Raffael [mailto:raffaelf@ieb.hu] Sent: Wednesday, September 04, 2002 9:15 AM To: samba@samba.org Subject: [Samba] popup messages Hi, Although everything is set up in the global section for message command, samba doesn't deliver messages sent to the entire domain. It only delivers messages sent to my netbios name. What can I do to enable it? -- Raffael Ferenc Developer Inter-Eur?pa Bank +36-1-373-6495 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba