Newer versions of smbclient having trouble with dfs shares? NT_STATUS_OBJECT_PATH_NOT_FOUND

Fran Fabrizio fran at cis.uab.edu
Thu Apr 20 21:34:10 GMT 2006


I originally posted this problem to the samba users list but it's 
starting to look like there's a possibility something has changed under 
the hood in smbclient, so I thought I'd post here.

I have a dfs share at \\dapper\dfs and I am using smbclient to create 
tarballs for backup.  This procedure works under smbclient 3.0.1 but 
fails in 3.0.14 and 3.0.21 with the same command line.  It appears that 
3.0.14 and 3.0.21 are able to see the contents of the directory, since 
there is one error per file present in the directory, but those newer 
versions are not able to actually access the file for tar'ing, whereas 
3.0.1 is able to do this.

Here is the output of all three versions attempting the same operation...

I am happy to provide -d10 output if needed, if the cause of this is not 
immediately apparent.  Jerry was taking a look at this early in the week 
but I think he's busy elsewhere now, so I thought I'd get more developer 
eyeballs looking at it.  He appeared to indicate that it might be 
significant that this is a dfs share.  I will note that this dfs share 
has only one shared folder, F:\dfs which is shared at \\dapper\dfs. 
\home\staff\fran is an actual subdirectory of that, not a mapped 
referral.  Thanks!

[root at keep /]# smbclient -V
Version 3.0.1
[root at keep /]# smbclient \\\\dapper\\dfs password -U Administrator -E -W
CISNET -D home\\staff\\fran -d0 -Tqca /tmp/test.tar
[2006/04/18 20:33:57, 0] client/clitar.c:process_tar(1433)
   tar: dumped 27 files and directories
[2006/04/18 20:33:57, 0] client/clitar.c:process_tar(1434)
   Total bytes written: 6813184
[root at keep /]#

[root at monkey ~]# smbclient -V
Version 3.0.14a-2
[root at monkey ~]# smbclient \\\\dapper\\dfs password -U Administrator -E
-W CISNET -D home\\staff\\fran -d0 -Tqca /tmp/test.tar
Domain=[CISNET] OS=[Windows Server 2003 3790 Service Pack 1]
Server=[Windows Server 2003 5.2]
NT_STATUS_OBJECT_PATH_NOT_FOUND opening remote file
\home\staff\fran\2005 LRF\2004 LRF Summary FINAL.doc
(\home\staff\fran\2005 LRF\)
NT_STATUS_OBJECT_PATH_NOT_FOUND opening remote file
\home\staff\fran\2005 LRF\2004 LRF Summary Revised.doc
(\home\staff\fran\2005 LRF\)
NT_STATUS_OBJECT_PATH_NOT_FOUND opening remote file
\home\staff\fran\2005 LRF\2005 LRF FINAL.doc (\home\staff\fran\2005 LRF\)

[snip rest of errors, one per file]

[root at keep ~]# smbclient -V
Version 3.0.21b-2
[root at keep ~]# smbclient \\\\dapper\\dfs password -U Administrator -E -W
CISNET -D home\\staff\\fran -d0 -Tqca /tmp/test.tar
Domain=[CISNET] OS=[Windows Server 2003 3790 Service Pack 1]
Server=[Windows Server 2003 5.2]
NT_STATUS_OBJECT_PATH_NOT_FOUND opening remote file
\home\staff\fran\2005 LRF\2004 LRF Summary FINAL.doc
(\home\staff\fran\2005 LRF\)
NT_STATUS_OBJECT_PATH_NOT_FOUND opening remote file
\home\staff\fran\2005 LRF\2004 LRF Summary Revised.doc
(\home\staff\fran\2005 LRF\)
NT_STATUS_OBJECT_PATH_NOT_FOUND opening remote file
\home\staff\fran\2005 LRF\2005 LRF FINAL.doc (\home\staff\fran\2005 LRF\)

[snip rest of errors, one per file]



More information about the samba-technical mailing list