Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( fmt.Errorf("unauthorized for this app/client") // ErrUserNotFound is an error that happens when requested username is not found in ldap database ErrUserNotFound = fmt.Errorf("user not found") // ErrInvalidCredentials is an error that happens when a user's password is invalid. ErrInvalidCredentials = fmt.Errorf("invalid credentials") )ErrUnauthorize =
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Tls bool Endpoint string Basedn string RoleBaseDN string Admindn string Adminpw string Attrs []string }
func (*Config) NewClientWithContext ¶
type ConnInterface ¶
Click to show internal directories.
Click to hide internal directories.