Red Hat Bugzilla – Bug 162286
smbclient ignores -p|--port command line parameter
Last modified: 2007-11-30 17:11:09 EST
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):
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 127.0.0.1 (Connection refused)"
Expected Results: A successful smbclient connection.
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).
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 ?
Tested and fixed in FC6
*** Bug 172370 has been marked as a duplicate of this bug. ***