diff --git a/client.go b/client.go index 1fa4ad5a..f0312aff 100644 --- a/client.go +++ b/client.go @@ -12,11 +12,14 @@ type Client interface { Close() IsClosing() bool SetTimeout(time.Duration) + TLSConnectionState() (tls.ConnectionState, bool) Bind(username, password string) error UnauthenticatedBind(username string) error SimpleBind(*SimpleBindRequest) (*SimpleBindResult, error) ExternalBind() error + NTLMUnauthenticatedBind(domain, username string) error + Unbind() error Add(*AddRequest) error Del(*DelRequest) error diff --git a/v3/client.go b/v3/client.go index 1fa4ad5a..f0312aff 100644 --- a/v3/client.go +++ b/v3/client.go @@ -12,11 +12,14 @@ type Client interface { Close() IsClosing() bool SetTimeout(time.Duration) + TLSConnectionState() (tls.ConnectionState, bool) Bind(username, password string) error UnauthenticatedBind(username string) error SimpleBind(*SimpleBindRequest) (*SimpleBindResult, error) ExternalBind() error + NTLMUnauthenticatedBind(domain, username string) error + Unbind() error Add(*AddRequest) error Del(*DelRequest) error