Bug 5347 - smbclient: sends things to stderr.
smbclient: sends things to stderr.
Status: RESOLVED WONTFIX
Product: Samba 3.0
Classification: Unclassified
Component: smbclient
3.0.28a
Other Linux
: P3 minor
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
http://bugs.debian.org/470205
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-23 12:43 UTC by Debian samba package maintainers (PUBLIC MAILING LIST)
Modified: 2008-04-14 08:15 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Debian samba package maintainers (PUBLIC MAILING LIST) 2008-03-23 12:43:28 UTC
Hello,

smbclient sends information to stderr even when the debug level is 0 (from smbclient(1) "At level 0, only critical errors and serious warnings will be logged.")

$ smbclient -d0 //localhost/test 2>err.log
Password: 
smb: \> quit
$ cat err.log 
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.28a]

IMHO the Domain=... should go to stdout instead of stderr because there is no error.

noel@d.o
Comment 1 Kai Blin 2008-04-14 08:15:58 UTC
I agree this is a bug. However, fixing it will probably break a lot of scripts out there, so we'd rather keep it the way it is for legacy reasons.

I'll make sure we'll fix this for Samba4.