Bug 82454 - [patch] smbspool error reporting
[patch] smbspool error reporting
Product: Red Hat Raw Hide
Classification: Retired
Component: samba (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jay Fenlason
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2003-01-22 07:54 EST by Tim Waugh
Modified: 2014-08-31 19:24 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-02-13 14:57:51 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
samba-2.2.7a-error.patch (696 bytes, patch)
2003-01-22 07:55 EST, Tim Waugh
no flags Details | Diff

  None (edit)
Description Tim Waugh 2003-01-22 07:54:04 EST
Description of problem:
When smbspool reports errors it sometimes uses perror() even in contexts where
errno has nothing to do with the error being reported.  For example, try:

smbspool smb://blah/blah 1 user title 1 ''</dev/null

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. smbspool smb://blah/blah 1 user title 1 ''</dev/null
Actual results:
ERROR: Unable to connect to SAMBA host, will retry in 60 seconds...: Success

Expected results:
ERROR: Unable to connect to SAMBA host, will retry in 60 seconds...

Additional info:
Patch attached.
Comment 1 Tim Waugh 2003-01-22 07:55:11 EST
Created attachment 89515 [details]
Comment 2 Jay Fenlason 2003-02-13 14:57:51 EST
I've included this in the 2.2.7a-3 and later, and passed it upstream.  With luck
it'll make it into 2.2.8

Note You need to log in before you can comment on or make changes to this bug.