[Samba] smbclient sending output to stdout

Peeler, Wade M. Wade.Peeler at ngc.com
Fri Oct 13 16:44:48 GMT 2006


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: samba-bounces+wade.peeler=ngc.com at lists.samba.org
[mailto:samba-bounces+wade.peeler=ngc.com at lists.samba.org] On Behalf Of
Peeler, Wade M.
Sent: Wednesday, October 11, 2006 11:24 AM
To: samba at lists.samba.org
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


More information about the samba mailing list