-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception: STATUS_PATH_NOT_COVERED #152
Comments
Hi @tony-ts, DFS support is upcoming, but not merged yet. Hope to work on this tomorrow actually. So currently this error would be expected when you connect to a DFS share. |
@tony-ts Can you try with the latest master? :) Don't forget to set the |
@hierynomus Connect / open file works good. But i received exceptions (access denied) when tried to mkfile/ mkdir / rmfile / rmdir (i have rights for it).
|
@hierynomus solved it with DFSPathResolver + connect to DFSShare. |
With the last version I'm still getting a STATUS_PATH_NOT_COVERED if the whole FQDN is not used for the host, eg, Accessing //test.mydomain/test... where test.mydomain resolves to IPS 1 2 and 3. Share "test" resides actually on IP 2. Anyway, used the proper way it works, so thanks. |
Nah, spoke too soon. It only works if by chance the FQDN is solved to the good IP. Otherwise this will fail. SMB2TreeConnectResponse response = (SMB2TreeConnectResponse)Futures.get(send, this.connection.getConfig().getTransactTimeout(), TimeUnit.MILLISECONDS, TransportException.Wrapper); and response.getCapabilities() is null in this case, same as when "wrong" ip is used as host. Attaching a tcpdump, if it serves for anything. |
@Disablez , can you please try the https://github.com/cliviu/smbj version, see if it works for you. Thanks ! |
@cliviu Sorry, but it fails same way :(. Only works if by chance the hostname is internally resolved to the proper IP, with no need for redirection. So, still a lottery. |
ok, so it may be a network configuration problem. If the link always working under windoz ? |
It does work under windows (explorer / map to drive) with no issue. |
After sniffing a bit, it seems the current implementation works when the DFS folder points to several copies of the same data in different nodes, i.e. In this case smbj works properly . However, if we "distribute" the folders among the nodes, e.g myfolder is physically only on servera and myfolder2 is physically only on serverb, smbj cannot resolve it. While Windows does. |
hi all |
Hi, SMB2Echo responsePacket = new SMB2Echo(); Compile error : The method setStatus(NtStatus) is undefined for the type SMB2Header Trying to resolve below warnings: WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.hierynomus.security.jce.JceMessageDigest (file:/C:/Users/git/parent/web/webContent/WEB-INF/lib/smbj-0.6.0.jar) to method sun.security.provider.MD4.getInstance() WARNING: Please consider reporting this to the maintainers of com.hierynomus.security.jce.JceMessageDigest WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Please advice |
Hi All, |
Have a similar issue with the latest lib version. Receive NPE on getAttributes, with 3221226071 status in the header, any ideas? |
hi @ilia-dot-karelia , Thanks Jozef |
Hi! Was this item implemented? Thanks Vinicius |
Hello.
I have share named "DFS" with folder "Resources". Folder Resources contains shortcut for folder "SomeFolder".
When i'm trying to access
i got exception
In properties of folder "SomeFolder", DFS tab have link on another server "\SomeServer\DFSData\Resouces\SomeFolder"
I found in documentation
But i can't find something helpful in FileIdBothDirectoryInformation.
How can i access this folder ("Resources\SomeFolder")?
The text was updated successfully, but these errors were encountered: