Turns out it's outputting that line to stderr and it occurs with all smb instructions, but the problem remains the same. I can redirect stderr to a file, but then I lose all the other output that I want to go to the mail queue. Is there some way to only redirect the stderr output from smb, other than wrapping around every single smb instruction? Is there a way to configure sambaclient or smbclientparser to not output to stderr?
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peeler, Wade M. Sent: Wednesday, October 11, 2006 11:24 AM To: [email protected] Subject: [Samba] smbclient sending output to stdout I'm using smbclient 3.0.22-13.16-SUSE-SLES10. I'm using the smbclientparser Perl module to use smbclient from within my Perl scripts. Whenever I perform a GET on a file, smb outputs this line to stdout: Domain=[mydomain] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] This results in hundreds of mail messages in my local mail queue. How can I turn this off, so that smbclient doesn't send any output to stdout during execution of my Perl scripts? Wade Peeler -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
