Bug 5347 - smbclient: sends things to stderr.
Summary: smbclient: sends things to stderr.
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: smbclient (show other bugs)
Version: 3.0.28a
Hardware: Other Linux
: P3 minor
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL: http://bugs.debian.org/470205
Keywords:
Depends on:
Blocks:
 
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.