{"action":"created","issue":{"url":"https://api.github.com/repos/hierynomus/smbj/issues/152","repository_url":"https://api.github.com/repos/hierynomus/smbj","labels_url":"https://api.github.com/repos/hierynomus/smbj/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/hierynomus/smbj/issues/152/comments","events_url":"https://api.github.com/repos/hierynomus/smbj/issues/152/events","html_url":"https://github.com/hierynomus/smbj/issues/152","id":249068612,"number":152,"title":"Exception: STATUS_PATH_NOT_COVERED","user":{"login":"tony-ts","id":19417402,"avatar_url":"https://avatars1.githubusercontent.com/u/19417402?v=4","gravatar_id":"","url":"https://api.github.com/users/tony-ts","html_url":"https://github.com/tony-ts","followers_url":"https://api.github.com/users/tony-ts/followers","following_url":"https://api.github.com/users/tony-ts/following{/other_user}","gists_url":"https://api.github.com/users/tony-ts/gists{/gist_id}","starred_url":"https://api.github.com/users/tony-ts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tony-ts/subscriptions","organizations_url":"https://api.github.com/users/tony-ts/orgs","repos_url":"https://api.github.com/users/tony-ts/repos","events_url":"https://api.github.com/users/tony-ts/events{/privacy}","received_events_url":"https://api.github.com/users/tony-ts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-08-09T15:23:48Z","updated_at":"2017-09-15T15:18:36Z","closed_at":null,"author_association":"NONE","body":"Hello.\r\nI have share named \"DFS\" with folder \"Resources\". Folder Resources contains shortcut for folder \"SomeFolder\".\r\nWhen i'm trying to access \r\n\r\n```java DiskShare share = (DiskShare) session.connectShare(fixPath(shareName));\r\nDirectory directory = share.openDirectory(\"Resources\\\\SomeFolder\",\r\n        EnumSet.of(AccessMask.FILE_LIST_DIRECTORY, AccessMask.FILE_READ_ATTRIBUTES),\r\n                EnumSet.of(FileAttributes.FILE_ATTRIBUTE_DIRECTORY),\r\n        SMB2ShareAccess.ALL,\r\n        SMB2CreateDisposition.FILE_OPEN,\r\n        EnumSet.of(SMB2CreateOptions.FILE_DIRECTORY_FILE));\r\n```\r\n\r\ni got exception\r\n\r\n>  com.hierynomus.smbj.common.SMBApiException: STATUS_PATH_NOT_COVERED(3221226071/3221226071): Create failed for Resources\\SomeFolder\r\n\r\nIn properties of folder \"SomeFolder\", DFS tab have link on another server  \"\\\\SomeServer\\\\DFSData\\\\Resouces\\\\SomeFolder\"\r\n\r\nI found in documentation\r\n>https://msdn.microsoft.com/en-us/library/cc227030.aspx \r\nTo identify the DFS link targets that contain the required portion of the DFS namespace, the client MUST look up the path used for the I/O operation in ReferralCache. On a cache hit, the resulting ReferralCache entry MUST be used in further processing\r\n\r\nBut i can't find something helpful in FileIdBothDirectoryInformation.\r\nHow can i access this folder (\"Resources\\\\SomeFolder\")? "},"comment":{"url":"https://api.github.com/repos/hierynomus/smbj/issues/comments/329813188","html_url":"https://github.com/hierynomus/smbj/issues/152#issuecomment-329813188","issue_url":"https://api.github.com/repos/hierynomus/smbj/issues/152","id":329813188,"user":{"login":"cliviu","id":2623175,"avatar_url":"https://avatars0.githubusercontent.com/u/2623175?v=4","gravatar_id":"","url":"https://api.github.com/users/cliviu","html_url":"https://github.com/cliviu","followers_url":"https://api.github.com/users/cliviu/followers","following_url":"https://api.github.com/users/cliviu/following{/other_user}","gists_url":"https://api.github.com/users/cliviu/gists{/gist_id}","starred_url":"https://api.github.com/users/cliviu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cliviu/subscriptions","organizations_url":"https://api.github.com/users/cliviu/orgs","repos_url":"https://api.github.com/users/cliviu/repos","events_url":"https://api.github.com/users/cliviu/events{/privacy}","received_events_url":"https://api.github.com/users/cliviu/received_events","type":"User","site_admin":false},"created_at":"2017-09-15T15:18:36Z","updated_at":"2017-09-15T15:18:36Z","author_association":"NONE","body":"ok, so it may be a network configuration problem. If the link always working under windoz ?"}}
{"actor":{"display_login":"cliviu"}}