feat(ldap): more unit tests for ldap to grafana user sync

This commit is contained in:
Torkel Ödegaard
2015-07-14 10:20:30 +02:00
parent 2fa9311eee
commit a7b1df34c5
6 changed files with 167 additions and 42 deletions
-1
View File
@@ -119,7 +119,6 @@ var (
// LDAP
LdapEnabled bool
LdapServers []*LdapServerConf
// SMTP email settings
Smtp SmtpSettings
-25
View File
@@ -1,25 +0,0 @@
package setting
type LdapGroupToOrgRole struct {
LdapGroupPath string
OrgId int
OrgRole string
}
type LdapServerConf struct {
Host string
Port string
UseSSL bool
BindDN string
BindPassword string
AttrUsername string
AttrName string
AttrSurname string
AttrEmail string
AttrMemberOf string
SearchFilter string
SearchBaseDNs []string
LdapGroups []LdapGroupToOrgRole
}