Versions in this module Expand all Collapse all v0 v0.1.0 Mar 12, 2023 Changes in this version + const DefaultClientCompatibilityLevel + const NTLMSSPRevisionW2K3 + const TLSServerEndPoint + func DefaultDomain() (string, error) + func DefaultWorkstation() (string, error) + func SetCompatibilityLevel(level lmCompatibilityLevel) func(*Client) error + func SetDomain(domain string) func(*Client) error + func SetUserInfo(username, password string) func(*Client) error + func SetVersion(version *Version) func(*Client) error + func SetWorkstation(workstation string) func(*Client) error + type ChannelBindings struct + AcceptorAddress []uint8 + AcceptorAddrtype uint32 + ApplicationData []uint8 + InitiatorAddress []uint8 + InitiatorAddrtype uint32 + type Client struct + func NewClient(options ...func(*Client) error) (*Client, error) + func (c *Client) Authenticate(input []byte, bindings *ChannelBindings) ([]byte, error) + func (c *Client) Complete() bool + func (c *Client) SecuritySession() *SecuritySession + func (c *Client) SetOption(options ...func(*Client) error) error + type SecuritySession struct + func (s *SecuritySession) Unwrap(b, signature []byte) ([]byte, error) + func (s *SecuritySession) Wrap(b []byte) ([]byte, []byte, error) + type Version struct + NTLMRevisionCurrent uint8 + ProductBuild uint16 + ProductMajorVersion uint8 + ProductMinorVersion uint8 + func DefaultVersion() *Version