Documentation ¶
Index ¶
- type Authenticator
- type BmcLdap
- func (bmcLdap *BmcLdap) Add(ctx ldap.Context, req *ldap.AddRequest) (*ldap.AddResponse, error)
- func (bmcLdap *BmcLdap) Bind(ctx ldap.Context, req *ldap.BindRequest) (bindResponse *ldap.BindResponse, err error)
- func (bmcLdap *BmcLdap) Connect(remoteAddr net.Addr) (ldap.Context, error)
- func (bmcLdap *BmcLdap) Delete(ctx ldap.Context, req *ldap.DeleteRequest) (*ldap.DeleteResponse, error)
- func (bmcLdap *BmcLdap) Disconnect(ctx ldap.Context)
- func (bmcLdap *BmcLdap) ExtendedRequest(ctx ldap.Context, req *ldap.ExtendedRequest) (*ldap.ExtendedResponse, error)
- func (bmcLdap *BmcLdap) Ldap(protocol string, address string)
- func (bmcLdap *BmcLdap) Ldaps(protocol string, address string, tlsConfig *tls.Config)
- func (bmcLdap *BmcLdap) LoadTlsConfig(c *Config) *tls.Config
- func (bmcLdap *BmcLdap) Modify(ctx ldap.Context, req *ldap.ModifyRequest) (*ldap.ModifyResponse, error)
- func (bmcLdap *BmcLdap) ModifyDN(ctx ldap.Context, req *ldap.ModifyDNRequest) (*ldap.ModifyDNResponse, error)
- func (bmcLdap *BmcLdap) PasswordModify(ctx ldap.Context, req *ldap.PasswordModifyRequest) ([]byte, error)
- func (bmcLdap *BmcLdap) Search(ctx ldap.Context, req *ldap.SearchRequest) (res *ldap.SearchResponse, err error)
- func (bmcLdap *BmcLdap) Whoami(ctx ldap.Context) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type BmcLdap ¶
type BmcLdap struct {
// contains filtered or unexported fields
}
func NewLdapServer ¶
returns a ldap.Server
func (*BmcLdap) Add ¶
func (bmcLdap *BmcLdap) Add(ctx ldap.Context, req *ldap.AddRequest) (*ldap.AddResponse, error)
Method added to conform to ldap.Server interface
func (*BmcLdap) Bind ¶
func (bmcLdap *BmcLdap) Bind(ctx ldap.Context, req *ldap.BindRequest) (bindResponse *ldap.BindResponse, err error)
func (*BmcLdap) Delete ¶
func (bmcLdap *BmcLdap) Delete(ctx ldap.Context, req *ldap.DeleteRequest) (*ldap.DeleteResponse, error)
Method added to conform to ldap.Server interface
func (*BmcLdap) Disconnect ¶
func (*BmcLdap) ExtendedRequest ¶
func (bmcLdap *BmcLdap) ExtendedRequest(ctx ldap.Context, req *ldap.ExtendedRequest) (*ldap.ExtendedResponse, error)
Method added to conform to ldap.Server interface
func (*BmcLdap) LoadTlsConfig ¶
func (*BmcLdap) Modify ¶
func (bmcLdap *BmcLdap) Modify(ctx ldap.Context, req *ldap.ModifyRequest) (*ldap.ModifyResponse, error)
Method added to conform to ldap.Server interface
func (*BmcLdap) ModifyDN ¶
func (bmcLdap *BmcLdap) ModifyDN(ctx ldap.Context, req *ldap.ModifyDNRequest) (*ldap.ModifyDNResponse, error)
Method added to conform to ldap.Server interface
func (*BmcLdap) PasswordModify ¶
func (bmcLdap *BmcLdap) PasswordModify(ctx ldap.Context, req *ldap.PasswordModifyRequest) ([]byte, error)
Method added to conform to ldap.Server interface
func (*BmcLdap) Search ¶
func (bmcLdap *BmcLdap) Search(ctx ldap.Context, req *ldap.SearchRequest) (res *ldap.SearchResponse, err error)
Click to show internal directories.
Click to hide internal directories.