Subject: | Time-out when connecting to DFS |
When connecting to a DFS share, Filesys::SmbClient times out. For
example, the following code:
$smb->opendir('smb://workgroup/dfsroot/share')
gives:
! Filesys::SmbClient : init 27c9b8 context
auth_fn
username: [...]
password: [...]
workgroup: [...]
[time passes]
! Filesys::SmbClient : _opendir: 0
*** Error Filesys::SmbClient : Error opendir
smb://workgroup/dfsroot/share : Connection timed out
Connection timed out at ~/smb-test.pl line 32.
Can't call method "read" on an undefined value at ~/smb-test.pl line 34.
! Filesys::SmbClient : free 27c9b8 context 0
[exits rc 145]
Connecting to this with smbclient works, and the "showconnect" command
reveals which server is serving this share. Connecting to the
underlying server with Filesys::SmbClient works as expected.