By replacing the redirect with a logfile I got the following message:

        ld.so.1: /usr/local/samba/bin/smbclient: fatal: libreadline.so.4:
open failed: No such file or directory

Looks like I need to include a LIBRARY variable.

Peter

-----Original Message-----
From: Adam Nielsen [mailto:[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 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 it to work.

What happens if you take off the redirect to /dev/null and point that to the
logfile - then if smbclient complains about anything when run inside the
script you'll see it in the logfile.

Also what happens if you change the message to "hello" with no variables?
Just in case something odd is being substituted and causing a problem.

Cheers,
Adam.


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to