Bug 162677

Summary: smbclient does everthing well except change directory (cd)
Product: [Fedora] Fedora Reporter: Eric R. Meyers <ermeyers>
Component: sambaAssignee: Simo Sorce <ssorce>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: low Docs Contact:
Priority: medium    
Version: 4CC: menzi, spacewar
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 3.0.24-1.fc6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-14 20:30:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eric R. Meyers 2005-07-07 15:43:29 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4

Description of problem:
All of the smbclient commands appear to be working except for change directory (cd).

Workaround is to smbmount the share, inorder to get down where you want to go.

Version-Release number of selected component (if applicable):
samba-client-3.0.14a-2

How reproducible:
Always

Steps to Reproduce:
1. Load FC4 standard
2. Connect Windows 95/98 with networking
3. Attempt to change directory in an smbclient session
  

Actual Results:  [ermeyers@ermsrv01 ~]$ smbclient //ermw9502/C
Password:
smb: \> cd windows
cd \windows\: ERRDOS - ERRbadfunc (Invalid function.)
smb: \> quit


Expected Results:  [ermeyers@ermsrv01 ~]$ smbclient //ermw9502/C
Password:
smb: \> cd windows
smb: \windows\> quit


Additional info:

I've have used smbclient for many years, so I think I know when it isn't working.

Comment 1 Eric Smith 2005-07-30 00:20:23 UTC
Same problem here.  I tried to copy files to an SMB share on a Windows 98 system
using a script that does this:

smbclient //server/share -N -c "cd somedir; put foo"

This used to work in Red Hat Linux (not sure what release), but fails in Fedora
Core 4 with the same "ERRDOS - ERRbadfunc (Invalid function.)" message Eric
Myers describes as resulting from interactive use.


Comment 2 Christian Iseli 2007-01-22 11:36:11 UTC
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 ?

Thanks.

Comment 3 Simo Sorce 2007-03-14 20:30:48 UTC
fixed in FC6