fix(ldap): updated to ldap bindDN and bindPassword is allowed to be empty, fixes #2439

This commit is contained in:
Torkel Ödegaard 2015-08-05 16:28:15 +02:00
parent 956a2bbdbe
commit 9dc779927b

View File

@ -63,8 +63,6 @@ func loadLdapConfig() {
// set default org id
for _, server := range ldapCfg.Servers {
assertNotEmptyCfg(server.Host, "host")
assertNotEmptyCfg(server.BindDN, "bind_dn")
assertNotEmptyCfg(server.SearchFilter, "search_filter")
assertNotEmptyCfg(server.SearchBaseDNs, "search_base_dns")