Documentation ¶
Index ¶
- func Server(opts ...Option) (*ldap.Server, error)
- type Handler
- func (h *Handler) Abandon(w ldap.ResponseWriter, m *ldap.Request)
- func (h *Handler) Bind(w ldap.ResponseWriter, m *ldap.Request)
- func (h *Handler) Extended(w ldap.ResponseWriter, m *ldap.Request)
- func (h *Handler) NotFound(w ldap.ResponseWriter, r *ldap.Request)
- func (h *Handler) Search(w ldap.ResponseWriter, m *ldap.Request)
- func (h *Handler) WhoAmI(w ldap.ResponseWriter, m *ldap.Request)
- type Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler implements the handlers for LDAP Requests
func (*Handler) Abandon ¶
func (h *Handler) Abandon(w ldap.ResponseWriter, m *ldap.Request)
Abandon tries to Abandon the given request
func (*Handler) Bind ¶
func (h *Handler) Bind(w ldap.ResponseWriter, m *ldap.Request)
Bind authenticates using user and password the password is taken from a `userpassword` property, which is non standard
func (*Handler) Extended ¶
func (h *Handler) Extended(w ldap.ResponseWriter, m *ldap.Request)
Extended handles extended requests
func (*Handler) NotFound ¶
func (h *Handler) NotFound(w ldap.ResponseWriter, r *ldap.Request)
NotFound returns success for a bind request, unwilling to perform otherwise
Click to show internal directories.
Click to hide internal directories.