diff --git a/app/models/auth_source_ldap.rb b/app/models/auth_source_ldap.rb index 4bdfe63f5..cfb02b881 100644 --- a/app/models/auth_source_ldap.rb +++ b/app/models/auth_source_ldap.rb @@ -16,6 +16,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. require 'iconv' +require 'net/ldap' class AuthSourceLdap < AuthSource validates_presence_of :host, :port, :attr_login