如何使用 JCIF 库通过 Kerberos 进行 SAMBA 授权?

问题描述

如何通过 Kerberos 对 jcif 或 jcif-ng 库进行 SAMBA 授权?之前有NTLM授权`

NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication("tifany","test",password);

      if (path == null)
      {
        LOG.error("test");

        return null;
      }
      
      SmbFile baseDir = new SmbFile("smb://"+path,auth);
      return baseDir.listFiles();

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)