Skip to content

jkanefendt/smbj-sspi-authenticator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

smbj-sspi-authenticator

GSS-Authentication for smbj using Windows SSPI via JNA.

Usage

SmbConfig config = SmbConfig.builder()
   .withAuthenticators(new SspiAuthenticator.Factory())
   .build();
              
SMBClient client = new SMBClient(config);
Connection connection = client.connect("SMBSERVER");
      
SspiAuthenticationContext ac = new SspiAuthenticationContext():
Session session = connection.authenticate(ac);
DiskShare share = (DiskShare) session.connectShare("NETLOGON");      

Limitations

  • No support for SMB3 encryption yet, only SMB2 signing using the SSPI session key

About

GSS-Authentication for smbj using Windows SSPI via JNA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages