Bug 162286 - smbclient ignores -p|--port command line parameter
smbclient ignores -p|--port command line parameter
Product: Fedora
Classification: Fedora
Component: samba (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Simo Sorce
David Lawrence
: 172370 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2005-07-01 18:12 EDT by Antti-Pekka Liedes
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version: 3.0.24-1.fc6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-03-14 12:42:55 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Antti-Pekka Liedes 2005-07-01 18:12:37 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Fedora/1.7.8-2

Description of problem:
Smbclient doesn't take the port given on command line into account.

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

How reproducible:

Steps to Reproduce:
1. "ssh -L10000:someserver:139 someotherserver"
2. "smbclient //someserver/someshare -I localhost -p 10000"


Actual Results:  Step 2 produced "Error connecting to (Connection refused)"

Expected Results:  A successful smbclient connection.

Additional info:

Doing "ssh -L139:someserver:139 someotherserver" instead in step 1 makes step 2 work ok.  Obviously, this is only possible as root and prevents the machine running smbclient from running smbd (on default port).
Comment 1 Christian Iseli 2007-01-22 06:36:52 EST
This report targets the FC3 or FC4 products, which have now been EOL'd.

Could you please check that it still applies to a current Fedora release, and
either update the target product or close it ?

Comment 2 Simo Sorce 2007-03-14 12:42:55 EDT
Tested and fixed in FC6
Comment 3 Simo Sorce 2007-03-14 17:24:56 EDT
*** Bug 172370 has been marked as a duplicate of this bug. ***
Comment 4 fedoracoreman 2007-03-16 06:02:31 EDT
issue resolved

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