Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { URL string `hcl:"url,required" description:"LDAP server URL, user and optional password for bind"` User string `hcl:"user,optional" description:"Bind user, if not specified in URL"` Password string `hcl:"password,optional" description:"Bind password, if not specified in URL"` DN string `hcl:"dn,required" description:"Distinguished name"` TLS struct { SkipVerify bool `hcl:"skip-verify" description:"Skip certificate verification"` } `hcl:"tls,optional" description:"TLS configuration"` Schema schema.Schema `hcl:"schema,optional" description:"LDAP Schema"` }
LDAP configuration
func (Config) Description ¶
func (Config) ObjectSchema ¶
Click to show internal directories.
Click to hide internal directories.