hierynomus / smbj

Server Message Block (SMB2, SMB3) implementation in Java
Other
713 stars 180 forks source link

Unable to access NFS Share from Linux machine using SMBJ #619

Closed rokkakasu closed 3 years ago

rokkakasu commented 3 years ago

Hi Team,

getting below exception when trying to connect to NFS share using SMBJ

I am using latest Master branch and version 3_1_1.

y: org.apache.camel.component.file.GenericFileOperationFailedException: Could not create connection at org.apache.camel.component.smbj.SmbFileOperations.createConnection(SmbFileOperations.java:418) at org.apache.camel.component.smbj.SmbFileOperations.invokeOnDiskShare(SmbFileOperations.java:540) at org.apache.camel.component.smbj.SmbFileOperations.listFiles(SmbFileOperations.java:331) ... 11 common frames omitted Caused by: com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: com.hierynomus.protocol.transport.TransportException: java.io.EOFException: EOF while reading packet at com.hierynomus.protocol.transport.TransportException$1.wrap(TransportException.java:30)

neoxpert commented 3 years ago

If it really is a pure NFS share, SMBJ is not the proper solution, as this is a totally different protocol.

Maybe have a look at https://github.com/raisercostin/yanfs or https://github.com/EMCECS/nfs-client-java .

hierynomus commented 3 years ago

@vrr6 Does the answer from @neoxpert answer your question? If not, please elaborate.

hierynomus commented 3 years ago

Any update on this @vrr6?

rokkakasu commented 3 years ago

Please close the ticket, yes answer fulfilled my request.

Thank you

On Fri, 14 May 2021, 14:13 Jeroen van Erp, @.***> wrote:

Any update on this @vrr6 https://github.com/vrr6?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hierynomus/smbj/issues/619#issuecomment-841105251, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIJCEGWY45BWQDYSVJQVYHTTNTPC3ANCNFSM4Y5K7BFQ .

hierynomus commented 3 years ago

ok, closing, thanks!