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

Peter Oram petero at 3g.nec.com.au
Wed Jun 7 06:08:36 GMT 2006


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: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
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.




More information about the samba mailing list