What can i use on redhat linux to test if an smb location will be accessible 
with camel-jcifs? I tries using 'smbclient' but i get 'LOGON_FAILURE' in for 
locations that camel *can* actually write to. Is there anything else i can use?


Background:
I have a small Apache Camel application that picks up files at a smb endpoint:

smb://domain.nl;user-n...@domain.nl/my/file/location?password=Blablabla&move=${processedFolder}&sendEmptyMessageWhenIdle=true&consumer.bridgeErrorHandler=true


Recently we had a glitch and the process failed after moving some of the files 
we had lined up. Logs made it clear the files from the smb location suddenly 
became inaccesible.
The first thing i tried was checking if i could get to the smb endpoint, like 
this:
> smbclient -L domain.nl -U user-name -d 10

This returned session setup failed: NT_STATUS_LOGON_FAILURE after many debug 
lines.

Long story short, it turned out it was just a glitch, after rerunning camel all 
the files were picked up. So smbclient is not the way to check if apache camel 
using Samba JCIFS can access a location. But what is? Next time, how can i 
check manually from the linux server if a smb location is available?
I should note that the linux-version is ancient, 5.5 redhat.
camel version: 2.20.1, camel jcifs version: 2.18.0, jcifs version: 1.3.18

Thanks in advance, we have no in-house sys-admins anymore to help with this 
kind of deployment questions.

Ivana Cace




***************************************** De informatie verzonden in deze 
e-mail (inclusief bijlagen) kan vertrouwelijk van aard zijn en is uitsluitend 
bestemd voor de geadresseerde(n). Indien deze e-mail niet voor u bestemd is, 
verzoeken wij u vriendelijk het bericht te retourneren en vervolgens te 
vernietigen. Yarden doet er alles aan om ervoor te zorgen dat verzonden 
e-mailberichten vrij zijn van virussen, maar kan dit niet garanderen. Yarden 
Holding B.V., statutair gevestigd te Almere, Handelsregisternummer 34155452 
Yarden Uitvaartfaciliteiten B.V., statutair gevestigd te Almere, 
Handelsregisternummer 30104432 Yarden Uitvaartzorg B.V., statutair gevestigd te 
Almere, Handelsregisternummer 04050164 Yarden Uitvaartverzekeringen N.V., 
statutair gevestigd te Almere, Handelsregisternummer 33244450 
*****************************************

Reply via email to