Documentation ¶
Overview ¶
Package ldap
@author: xwc1125
Package ddm ¶
@author: xwc1125
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLdap ¶
func InitLdap(ldap LdapConfig)
Types ¶
type LdapConfig ¶
type LdapConfig struct { Enable bool `json:"enable" mapstructure:"enable"` Host string `json:"host" mapstructure:"host"` Port int `json:"port" mapstructure:"port"` BaseDn string `json:"base_dn" mapstructure:"base_dn"` BindUser string `json:"bind_user" mapstructure:"bind_user"` BindPass string `json:"bind_pass" mapstructure:"bind_pass"` AuthFilter string `json:"auth_filter" mapstructure:"auth_filter"` Attributes ldapAttributes `json:"attributes" mapstructure:"attributes"` CoverAttributes bool `json:"cover_attributes" mapstructure:"cover_attributes"` TLS bool `json:"tls" mapstructure:"tls"` StartTLS bool `json:"start_tls" mapstructure:"start_tls"` }
var LDAP LdapConfig
Click to show internal directories.
Click to hide internal directories.