From 79ea34e70ebe989f1a5f8fbd71cfe3109c6f8a58 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sat, 3 May 2014 10:48:14 +0800 Subject: ldap support --- modules/auth/authentication.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 modules/auth/authentication.go (limited to 'modules/auth/authentication.go') diff --git a/modules/auth/authentication.go b/modules/auth/authentication.go new file mode 100644 index 00000000..5c179f0f --- /dev/null +++ b/modules/auth/authentication.go @@ -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"` +} -- cgit v1.2.3