Answer the question
In order to leave comments, you need to log in
How to make SAMBA authorization via Kerberos for jcif or jcif-ng library?
Good afternoon! How to make SAMBA authorization via Kerberos for jcif or jcif-ng library? Previously, there was NTLM authorization
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();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question