Skip to content

Commit

Permalink
Add missing Client interface methods (go-ldap#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpuschma authored and inv2004 committed Jan 17, 2023
1 parent 56e8ea7 commit ea3a5b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions v3/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea3a5b4

Please sign in to comment.