From 2dd01e748289711a1d40a1a4e34a05f23151d391 Mon Sep 17 00:00:00 2001 From: Christopher Puschmann Date: Mon, 25 Apr 2022 14:34:24 +0200 Subject: [PATCH] Add missing `Client` interface methods (#374) --- 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