<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;"><div>Hi,<br><br>I've got an application that gets file listings on shared Windows folders using JCIFS.&nbsp; However, there is one particular server that is giving us grief.&nbsp; It works 95% of the time but every so often, it'll start giving "Access is denied" messages for long stretches at a time (half hour plus).&nbsp; But then miraculously, the error will clear and things will be working smoothly again.<br><br>I figured that the issue was due to the Windows Server 2003 domain controller issue.&nbsp; We're attempting to authenticate several different users near simultaneously (the jobs are working from a timer); from my online research it appears that the solution is using preauthentication.&nbsp; However, when I try to find out HOW to do preauthentication, the docs are pretty
 sparse.<br><br>What I tried is creating an instance of the NtlmPasswordAuthentication, passing in the user credentials and using the SmbFile constructor that takes that in as a parameter.&nbsp; Unfortunately, we're still seeing the same error message pop up when I make the call to SmbFile.listFiles() so I must be doing it wrong.<br><br>Could somebody either explain to me the proper way of doing preauthentication or refer me to an example out there?&nbsp; Or is the error message a symptom of a completely different problem?&nbsp; Thanks!<br><br>Brian<br></div>
</div><br>

      </body></html>