RE: [Samba] Sending popup message via smbclient to w2k and winxp machines

2006-06-06 Thread Peter Oram
:[EMAIL PROTECTED] Sent: Wednesday, 7 June 2006 1:44 PM To: Peter Oram Cc: samba@lists.samba.org Subject: Re: [Samba] Sending popup message via smbclient to w2k and winxp machines > Copy and paste each line of the script it works. If I run the script > using bogus data from the command l

Re: [Samba] Sending popup message via smbclient to w2k and winxp machines

2006-06-06 Thread Adam Nielsen
> Copy and paste each line of the script it works. If I run the script > using bogus data from the command line it works. It is only when I > get it to run live that it doesn't. Think I may have missed one > point. The script is run from within another, but is passed all the > correct variables for

RE: [Samba] Sending popup message via smbclient to w2k and winxp machines

2006-06-06 Thread Peter Oram
it to work. Peter -Original Message- From: Adam Nielsen [mailto:[EMAIL PROTECTED] Sent: Wednesday, 7 June 2006 12:21 PM To: Peter Oram Cc: samba@lists.samba.org Subject: Re: [Samba] Sending popup message via smbclient to w2k and winxp machines > Changing the line makes no difference

Re: [Samba] Sending popup message via smbclient to w2k and winxp machines

2006-06-06 Thread Adam Nielsen
> Changing the line makes no difference to what currently occurs. Well, I tried your script here and it works fine for me. There is a typo in your debugging line (missing a closing double-quote), but apart from that the message pops up on my WinXP box just as expected. I'm using Samba 3.0.21rc2.

RE: [Samba] Sending popup message via smbclient to w2k and winxp machines

2006-06-06 Thread Peter Oram
Changing the line makes no difference to what currently occurs. Peter -Original Message- From: Adam Nielsen [mailto:[EMAIL PROTECTED] Sent: Wednesday, 7 June 2006 11:33 AM To: Peter Oram Cc: samba@lists.samba.org Subject: Re: [Samba] Sending popup message via smbclient to w2k and winxp

Re: [Samba] Sending popup message via smbclient to w2k and winxp machines

2006-06-06 Thread Adam Nielsen
> MESSAGE="$WINNAME, your job $_3GJOB\nhas successfully completed" > echo "$MESSAGE" | /path/to/smbclient -M trout > /dev/null 2>&1 > echo "$MESSAGE\n/path/to/smbclient -M trout >> logfile.txt > > Why isn't the message being sent from within the script? Is it a redirect issue? What happens if y

[Samba] Sending popup message via smbclient to w2k and winxp machines

2006-06-06 Thread Peter Oram
I have a script that is attempting to notify a user that a job has finished. However, when called from within the script nothing is received by the user. When the equivalent message is sent from the command line, the user receives the message. The portion of the script that is relevant is below: