Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 481 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 481 Bytes

.NET NegotiateStream Protocol for Golang

This library implements a simple net.Conn abstraction for NNS authenticated streams.

It currently supports NTLMSSP as an authentication mechanism.

ntlmsspClient, err := ntlmssp.NewClient(ntlmssp.SetCompatibilityLevel(1), ntlmssp.SetUserInfo("user01", "password"))
if err != nil {
    return nil, err
}
nnsConn, err := nns.DialNTLMSSP("127.0.0.1:9380", ntlmsspClient, 5*time.Second)
if err != nil {
    return nil, err
}