camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter J Nelson <pete.nel...@ci.stpaul.mn.us>
Subject smb cannot connect to server
Date Mon, 31 Oct 2016 13:11:21 GMT
Camel: 2.16.3
camel-jcifs: 2.15.0 (latest release)

I am trying to pull files from a remote Windows Share.  I have a route that
works fine when connecting to a Windows Share in my own domain, but when I
try to connect to a host in another domain, it constantly errors with:

org.apache.camel.component.file.GenericFileOperationFailedException: Could
not get files Failed to connect to server

This example works within my local network:

<from
uri="smb://STPAUL;myuser:mypasswd@ch-1.stpaul.city/Users/Peten/tritech?localWorkDirectory=/temp&amp;delay=10000&amp;delete=true"/>

This example to an external domain does not:

<from
uri="smb://RC-ECC;theusername:thepasswd@rce_cad_rms_es.rc-ecc.org/StPaul/Out?localWorkDirectory=/temp&amp;delay=30000&amp;delete=true"/>

I also tried adding domain/user/password as query parameters, with no luck:

<from
uri="smb://rce_cad_rms_es.rc-ecc.org/StPaul/Out?password=thepasswd&amp;domain=RC-ECC&amp;username=theuser&amp;localWorkDirectory=/temp&amp;delay=30000&amp;delete=true"/>

Has anyone had any luck using SMB with a remote domain?  It seems like Camel
would be a good fit if I could get camel-jcifs to work.  Otherwise, I'll
probably have to do this using a batch file instead, which would just be
sad.





--
View this message in context: http://camel.465427.n5.nabble.com/smb-cannot-connect-to-server-tp5789515.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message