Unable to read file using SMB option with Service Account #6401
Unanswered
HemanthGokula
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Formats that should work for a domain account are:
Is the SMB share in a domain that has completely disabled all NTLM authentication? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to read files from a SMB File Share using a Service Account, This service account has access to the File Share and I can prove it by mapping the file share using same Service Account Logins.
I have tried the following options for User Name
DOMAIN/USERNAME
USERNAME/DOMAIN
USERNAME@DOMAIN
USERNAME
I get the below error
[2025-01-23 14:53:11.027] ERROR (com.mirth.connect.connectors.file.FileReceiver:27): Error polling in channel: 875a32b4-dffa-427e-9320-605f73ae0a44
com.mirth.connect.connectors.file.FileConnectorException: Error listing files in dir [/network-location-folder] for pattern [sample*]
at com.mirth.connect.connectors.file.filesystems.SmbFileConnection.listFiles(SmbFileConnection.java:223)
at com.mirth.connect.connectors.file.FileReceiver.listFiles(FileReceiver.java:647)
at com.mirth.connect.connectors.file.FileReceiver.poll(FileReceiver.java:239)
at com.mirth.connect.donkey.server.channel.PollConnectorJob.execute(PollConnectorJob.java:49)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)Caused by: jcifs.smb.SmbAuthException: Logon failure: unknown user name or bad password.
at jcifs.smb.SmbTransportImpl.checkStatus2(SmbTransportImpl.java:1464)
at jcifs.smb.SmbTransportImpl.checkStatus(SmbTransportImpl.java:1607)
at jcifs.smb.SmbTransportImpl.sendrecv(SmbTransportImpl.java:1014)
at jcifs.smb.SmbTransportImpl.send(SmbTransportImpl.java:1578)
at jcifs.smb.SmbSessionImpl.sessionSetupSMB2(SmbSessionImpl.java:557)
at jcifs.smb.SmbSessionImpl.sessionSetup(SmbSessionImpl.java:491)
at jcifs.smb.SmbSessionImpl.send(SmbSessionImpl.java:369)
at jcifs.smb.SmbSessionImpl.send(SmbSessionImpl.java:347)
at jcifs.smb.SmbTreeImpl.treeConnect(SmbTreeImpl.java:611)
at jcifs.smb.SmbTreeConnection.connectTree(SmbTreeConnection.java:614)
at jcifs.smb.SmbTreeConnection.connectHost(SmbTreeConnection.java:568)
at jcifs.smb.SmbTreeConnection.connectHost(SmbTreeConnection.java:489)
at jcifs.smb.SmbTreeConnection.connect(SmbTreeConnection.java:465)
at jcifs.smb.SmbTreeConnection.connectWrapException(SmbTreeConnection.java:426)
at jcifs.smb.SmbFile.ensureTreeConnected(SmbFile.java:559)
at jcifs.smb.SmbEnumerationUtil.doEnum(SmbEnumerationUtil.java:221)
at jcifs.smb.SmbEnumerationUtil.listFiles(SmbEnumerationUtil.java:279)
at jcifs.smb.SmbFile.listFiles(SmbFile.java:1270)
at com.mirth.connect.connectors.file.filesystems.SmbFileConnection.listFiles(SmbFileConnection.java:207)
... 5 more
Below is a screenshot when I do the test read
Has anyone tried to read files from SMB file shares using a Service Account?
What was the format for Username?
Any help is greatly appreciated.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions