Allow user specified CA certs

Signed-off-by: Alex Bligh <alex@alex.org.uk>
This commit is contained in:
Alex Bligh
2015-10-11 17:38:33 +01:00
parent a906fa178a
commit 458e6da700
3 changed files with 19 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ type LdapServerConf struct {
Port int `toml:"port"`
UseSSL bool `toml:"use_ssl"`
SkipVerifySSL bool `toml:"ssl_skip_verify"`
RootCACert string `toml:"root_ca_cert"`
BindDN string `toml:"bind_dn"`
BindPassword string `toml:"bind_password"`
Attr LdapAttributeMap `toml:"attributes"`