I recently upgraded from 3.0.10 to 3.0.14a. According to the changelogs,
smbclient has gained support for DFS. This mostly seems to work -- it follows
links correctly. (Hooray!) However, I have trouble accessing files which are
stored on the DFS root share.
Server: Windows Server 2003 (call this "srv")
* Exports G:\ as \\srv\users (which is also a DFS root)
* Exports G:\ as \\srv\test (which uses the same share permissions as users, but
it's not a DFS root)
Client: Debian (Sarge)
* Download G:\tim\foo.xls to /tmp
* Upload /tmp/hey.txt to G:\tim\hey.txt
Under 3.0.10, upload and download work if I start my session with either
Under 3.0.14a, upload and download work if I use
But they don't work if I use
Below are the errors that I get.
smb: \tim\> ls foo.xls
foo.xls A 21504 Fri Apr 29 23:50:54 2005
49999 blocks of size 524288. 46950 blocks available
smb: \tim\> get foo.xls
NT_STATUS_FILE_IS_A_DIRECTORY opening remote file \tim\foo.xls
smb: \tim\> !ls hey.txt
smb: \tim\> put hey.txt
Failed to open \tim\hey.txt: NT_STATUS_OBJECT_NAME_NOT_FOUND
will get this fixed for the next stable release.
Created attachment 1212 [details]
fix interaction with files on dfs root share, obey -P option, support connecting to an 'msdfs proxy' share
patch attached (checking it in to svn).
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.