Documentation ¶
Index ¶
- type Config
- type ConnWithReconnect
- func (c ConnWithReconnect) Add(a *ldap.AddRequest) error
- func (c ConnWithReconnect) Bind(username, password string) error
- func (c ConnWithReconnect) Close()
- func (c ConnWithReconnect) Compare(dn, attribute, value string) (bool, error)
- func (c ConnWithReconnect) Del(d *ldap.DelRequest) error
- func (c ConnWithReconnect) ExternalBind() error
- func (c ConnWithReconnect) GetConnection() (*ldap.Conn, error)
- func (c ConnWithReconnect) IsClosing() bool
- func (c ConnWithReconnect) Modify(m *ldap.ModifyRequest) error
- func (c ConnWithReconnect) ModifyDN(m *ldap.ModifyDNRequest) error
- func (c ConnWithReconnect) ModifyWithResult(m *ldap.ModifyRequest) (*ldap.ModifyResult, error)
- func (c ConnWithReconnect) NTLMUnauthenticatedBind(domain, username string) error
- func (c ConnWithReconnect) PasswordModify(m *ldap.PasswordModifyRequest) (*ldap.PasswordModifyResult, error)
- func (c ConnWithReconnect) Search(sr *ldap.SearchRequest) (*ldap.SearchResult, error)
- func (c ConnWithReconnect) SearchWithPaging(searchRequest *ldap.SearchRequest, pagingSize uint32) (*ldap.SearchResult, error)
- func (c ConnWithReconnect) SetTimeout(time.Duration)
- func (c ConnWithReconnect) SimpleBind(*ldap.SimpleBindRequest) (*ldap.SimpleBindResult, error)
- func (c ConnWithReconnect) Start()
- func (c ConnWithReconnect) StartTLS(*tls.Config) error
- func (c ConnWithReconnect) TLSConnectionState() (tls.ConnectionState, bool)
- func (c ConnWithReconnect) UnauthenticatedBind(username string) error
- func (c ConnWithReconnect) Unbind() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnWithReconnect ¶
type ConnWithReconnect struct {
// contains filtered or unexported fields
}
Implements the ldap.CLient interface
func NewLDAPWithReconnect ¶
func NewLDAPWithReconnect(logger *log.Logger, config Config) ConnWithReconnect
func (ConnWithReconnect) Add ¶
func (c ConnWithReconnect) Add(a *ldap.AddRequest) error
func (ConnWithReconnect) Bind ¶
func (c ConnWithReconnect) Bind(username, password string) error
func (ConnWithReconnect) Close ¶
func (c ConnWithReconnect) Close()
func (ConnWithReconnect) Compare ¶
func (c ConnWithReconnect) Compare(dn, attribute, value string) (bool, error)
func (ConnWithReconnect) Del ¶
func (c ConnWithReconnect) Del(d *ldap.DelRequest) error
func (ConnWithReconnect) ExternalBind ¶
func (c ConnWithReconnect) ExternalBind() error
func (ConnWithReconnect) GetConnection ¶
func (c ConnWithReconnect) GetConnection() (*ldap.Conn, error)
func (ConnWithReconnect) IsClosing ¶
func (c ConnWithReconnect) IsClosing() bool
func (ConnWithReconnect) Modify ¶
func (c ConnWithReconnect) Modify(m *ldap.ModifyRequest) error
func (ConnWithReconnect) ModifyDN ¶
func (c ConnWithReconnect) ModifyDN(m *ldap.ModifyDNRequest) error
func (ConnWithReconnect) ModifyWithResult ¶
func (c ConnWithReconnect) ModifyWithResult(m *ldap.ModifyRequest) (*ldap.ModifyResult, error)
func (ConnWithReconnect) NTLMUnauthenticatedBind ¶
func (c ConnWithReconnect) NTLMUnauthenticatedBind(domain, username string) error
NTLMUnauthenticatedBind implements the ldap.Client interface
func (ConnWithReconnect) PasswordModify ¶
func (c ConnWithReconnect) PasswordModify(m *ldap.PasswordModifyRequest) (*ldap.PasswordModifyResult, error)
func (ConnWithReconnect) Search ¶
func (c ConnWithReconnect) Search(sr *ldap.SearchRequest) (*ldap.SearchResult, error)
func (ConnWithReconnect) SearchWithPaging ¶
func (c ConnWithReconnect) SearchWithPaging(searchRequest *ldap.SearchRequest, pagingSize uint32) (*ldap.SearchResult, error)
func (ConnWithReconnect) SetTimeout ¶
func (c ConnWithReconnect) SetTimeout(time.Duration)
func (ConnWithReconnect) SimpleBind ¶
func (c ConnWithReconnect) SimpleBind(*ldap.SimpleBindRequest) (*ldap.SimpleBindResult, error)
func (ConnWithReconnect) Start ¶
func (c ConnWithReconnect) Start()
func (ConnWithReconnect) TLSConnectionState ¶
func (c ConnWithReconnect) TLSConnectionState() (tls.ConnectionState, bool)
TLSConnectionState implements the ldap.Client interface
func (ConnWithReconnect) UnauthenticatedBind ¶
func (c ConnWithReconnect) UnauthenticatedBind(username string) error
func (ConnWithReconnect) Unbind ¶
func (c ConnWithReconnect) Unbind() error
Unbind implements the ldap.Client interface
Click to show internal directories.
Click to hide internal directories.