Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client - the ldap client
func (*Client) Authenticate ¶
Authenticate - authenticates a user against ldap
type Config ¶
type Config struct {
Attributes []string
Base string
BindDN string
BindPassword string
GroupFilter string // e.g. "(memberUid=%s)"
Host string
UserFilter string // e.g. "(uid=%s)"
Port int
InsecureSkipVerify bool
UseSSL bool
ClientCertificates []tls.Certificate // Adding client certificates
CACertificates []byte
}
Config - ldap client config
Click to show internal directories.
Click to hide internal directories.