1
0
Fork 0
forked from forgejo/forgejo

ldap support

This commit is contained in:
Lunny Xiao 2014-05-03 10:48:14 +08:00
parent 8bab21d795
commit 79ea34e70e
11 changed files with 287 additions and 15 deletions

View file

@ -0,0 +1,13 @@
package auth
type AuthenticationForm struct {
Type int `form:"type"`
Name string `form:"name" binding:"MaxSize(50)"`
Domain string `form:"domain"`
Host string `form:"host"`
Port int `form:"port"`
BaseDN string `form:"base_dn"`
Attributes string `form:"attributes"`
Filter string `form:"filter"`
MsAdSA string `form:"ms_ad_sa"`
}