Get username, name, surname and e-mail from LDAP server

This commit is contained in:
Lauris BH 2015-02-08 01:49:51 +02:00
parent ba77a3b0b4
commit 00653e52ee
6 changed files with 75 additions and 44 deletions

View file

@ -18,7 +18,10 @@ type AuthenticationForm struct {
Port int `form:"port"`
UseSSL bool `form:"usessl"`
BaseDN string `form:"base_dn"`
Attributes string `form:"attributes"`
AttributeUsername string `form:"attribute_username"`
AttributeName string `form:"attribute_name"`
AttributeSurname string `form:"attribute_surname"`
AttributeMail string `form:"attribute_mail"`
Filter string `form:"filter"`
MsAdSA string `form:"ms_ad_sa"`
IsActived bool `form:"is_actived"`