Documentation
¶
Overview ¶
Package ldap provides a simple ldap client to authenticate, retrieve basic information and groups for a user.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Attributes []string Base string BindDN string BindPassword string GroupFilter string // e.g. "(memberUid=%s)" Host string ServerName string // server name for SSL (if use-ssl is set) UserFilter string // e.g. "(uid=%s)" Conn *ldap.Conn Port int InsecureSkipVerify bool UseSSL bool SkipTLS bool ClientCertificates []tls.Certificate // Adding client certificates }
Client ..
func (*Client) Authenticate ¶
Authenticate authenticates the user against the ldap backend.
Click to show internal directories.
Click to hide internal directories.