mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-12 18:25:27 -04:00
Bumps [github.com/go-ldap/ldap/v3](https://github.com/go-ldap/ldap) from 3.4.5-0.20230327113050-32d292ef5ded to 3.4.5. - [Release notes](https://github.com/go-ldap/ldap/releases) - [Commits](https://github.com/go-ldap/ldap/commits/v3.4.5) --- updated-dependencies: - dependency-name: github.com/go-ldap/ldap/v3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
38 lines
1.0 KiB
Go
38 lines
1.0 KiB
Go
package ldap
|
|
|
|
import (
|
|
"crypto/tls"
|
|
"time"
|
|
)
|
|
|
|
// Client knows how to interact with an LDAP server
|
|
type Client interface {
|
|
Start()
|
|
StartTLS(*tls.Config) error
|
|
Close() error
|
|
GetLastError() error
|
|
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
|
|
Modify(*ModifyRequest) error
|
|
ModifyDN(*ModifyDNRequest) error
|
|
ModifyWithResult(*ModifyRequest) (*ModifyResult, error)
|
|
|
|
Compare(dn, attribute, value string) (bool, error)
|
|
PasswordModify(*PasswordModifyRequest) (*PasswordModifyResult, error)
|
|
|
|
Search(*SearchRequest) (*SearchResult, error)
|
|
SearchWithPaging(searchRequest *SearchRequest, pagingSize uint32) (*SearchResult, error)
|
|
DirSync(searchRequest *SearchRequest, flags, maxAttrCount int64, cookie []byte) (*SearchResult, error)
|
|
}
|