From a2455d43776bb0cc27f4334ad74153327b310a68 Mon Sep 17 00:00:00 2001 From: Christopher Puschmann Date: Sat, 23 Apr 2022 20:59:35 +0200 Subject: [PATCH] Add missing `Client` interface methods --- client.go | 3 +++ v3/client.go | 3 +++ 2 files changed, 6 insertions(+) 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