[Samba] Sending popup message via smbclient to w2k and
petero at 3g.nec.com.au
Wed Jun 7 23:56:59 GMT 2006
I added the following line to the script:
but still received the same message as below in the logfile.
From: samba-bounces+petero=3g.nec.com.au at lists.samba.org
[mailto:samba-bounces+petero=3g.nec.com.au at lists.samba.org] On Behalf Of
Sent: Wednesday, 7 June 2006 4:09 PM
To: samba at lists.samba.org
Subject: RE: [Samba] Sending popup message via smbclient to w2k and
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.
From: Adam Nielsen [mailto:adam.nielsen at uq.edu.au]
Sent: Wednesday, 7 June 2006 1:44 PM
To: Peter Oram
Cc: samba at lists.samba.org
Subject: Re: [Samba] Sending popup message via smbclient to w2k and winxp
> 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.
More information about the samba