Progress on ldap support, #1450

This commit is contained in:
Torkel Ödegaard
2015-07-13 16:45:47 +02:00
parent 14f439f8ba
commit 2fa9311eee
2 changed files with 63 additions and 11 deletions
+5 -5
View File
@@ -1,9 +1,9 @@
package setting
type LdapMemberToOrgRole struct {
LdapMemberPattern string
OrgId int
OrgRole string
type LdapGroupToOrgRole struct {
LdapGroupPath string
OrgId int
OrgRole string
}
type LdapServerConf struct {
@@ -21,5 +21,5 @@ type LdapServerConf struct {
SearchFilter string
SearchBaseDNs []string
LdapMemberMap []LdapMemberToOrgRole
LdapGroups []LdapGroupToOrgRole
}