Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EscapeLDAPValue ¶ added in v0.2.0
Types ¶
type CLIHandler ¶
type CLIHandler struct{}
func (*CLIHandler) Help ¶
func (h *CLIHandler) Help() string
type ConfigEntry ¶
type ConfigEntry struct { Url string `json:"url" structs:"url" mapstructure:"url"` UserDN string `json:"userdn" structs:"userdn" mapstructure:"userdn"` GroupDN string `json:"groupdn" structs:"groupdn" mapstructure:"groupdn"` GroupFilter string `json:"groupfilter" structs:"groupfilter" mapstructure:"groupfilter"` GroupAttr string `json:"groupattr" structs:"groupattr" mapstructure:"groupattr"` UPNDomain string `json:"upndomain" structs:"upndomain" mapstructure:"upndomain"` UserAttr string `json:"userattr" structs:"userattr" mapstructure:"userattr"` Certificate string `json:"certificate" structs:"certificate" mapstructure:"certificate"` InsecureTLS bool `json:"insecure_tls" structs:"insecure_tls" mapstructure:"insecure_tls"` StartTLS bool `json:"starttls" structs:"starttls" mapstructure:"starttls"` BindDN string `json:"binddn" structs:"binddn" mapstructure:"binddn"` BindPassword string `json:"bindpass" structs:"bindpass" mapstructure:"bindpass"` DenyNullBind bool `json:"deny_null_bind" structs:"deny_null_bind" mapstructure:"deny_null_bind"` DiscoverDN bool `json:"discoverdn" structs:"discoverdn" mapstructure:"discoverdn"` TLSMinVersion string `json:"tls_min_version" structs:"tls_min_version" mapstructure:"tls_min_version"` TLSMaxVersion string `json:"tls_max_version" structs:"tls_max_version" mapstructure:"tls_max_version"` // contains filtered or unexported fields }
func (*ConfigEntry) GetTLSConfig ¶ added in v0.2.0
func (c *ConfigEntry) GetTLSConfig(host string) (*tls.Config, error)
type GroupEntry ¶
type GroupEntry struct {
Policies []string
}
Click to show internal directories.
Click to hide internal directories.