K
K
Kentaro232021-06-09 19:44:23
Java
Kentaro23, 2021-06-09 19:44:23

How to fix error 0xC00000BB when connecting via smb?

Good afternoon!
Error 0xC00000BB occurs while executing the request. How can this problem be solved? Below is the call code and exception, please help.

// Создаем объект для аутентификации на шаре
      NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication("tifany", "test", password);

      if (path == null)
      {
        LOG.error("Не задан путь к smb серверу");

        return null;
      }
      // Ресолвим путь назначения в SmbFile
      SmbFile baseDir = new SmbFile("smb://"+path, auth);
      return baseDir.listFiles();

jcifs.smb.SmbException: 0xC00000BB>jcifs.smb.SmbException: 0xC00000BB
  at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:569)
  at jcifs.smb.SmbTransport.send(SmbTransport.java:669)
  at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:390)
  at jcifs.smb.SmbSession.send(SmbSession.java:218)
  at jcifs.smb.SmbTree.treeConnect(SmbTree.java:176)
  at jcifs.smb.SmbFile.doConnect(SmbFile.java:912)
  at jcifs.smb.SmbFile.connect(SmbFile.java:958)
  at jcifs.smb.SmbFile.connect0(SmbFile.java:881)
  at jcifs.smb.SmbFile.getType(SmbFile.java:1286)
  at jcifs.smb.SmbFile.doEnum(SmbFile.java:1737)
  at jcifs.smb.SmbFile.listFiles(SmbFile.java:1719)
  at jcifs.smb.SmbFile.listFiles(SmbFile.java:1652)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan, 2021-06-09
Hasanly @azerphoenix

Here, here is a similar problem:
https://stackoverflow.com/questions/27372860/jcifs...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question