feat(ldap): more unit tests for ldap to grafana user sync
This commit is contained in:
@@ -119,7 +119,6 @@ var (
|
||||
|
||||
// LDAP
|
||||
LdapEnabled bool
|
||||
LdapServers []*LdapServerConf
|
||||
|
||||
// SMTP email settings
|
||||
Smtp SmtpSettings
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user