# Ldap authentication with ruby

**URL:** <https://www.ruby-forum.com/t/ldap-authentication-with-ruby/114318>\
**Category:** Rails\
**Created:** [September 11, 2007, 10:44am UTC](https://www.ruby-forum.com/t/ldap-authentication-with-ruby/114318 "2007-09-11T10:44:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ambika](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/df705f/32.png) [@ambika](https://www.ruby-forum.com/u/ambika)\
**Post date:** [September 11, 2007, 10:44am UTC](https://www.ruby-forum.com/t/ldap-authentication-with-ruby/114318/1 "2007-09-11T10:44:22Z")

</div>

Hi All,

I am a new to ruby on rails… i would like to authenticate ruby site  
using LDAP … I followed the link  
[http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateViaLdap](http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateViaLdap)

but after mentioning require ‘activeldap’ in config file and start the  
webrick server it gives the following error message…

/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/webrick.rb:11:  
warning: already initialized constant OPTIONS  
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/webrick.rb:11:  
warning: already initialized constant OPTIONS  
/usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:28:in  
`gem_original_require': no such file to load -- activeldap (MissingSourceFile) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:28:in `require’  
from  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active\_support/dependencies.rb:495:in  
`require' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in `new\_constants\_in’  
from  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active\_support/dependencies.rb:495:in  
`require' from ./script/../config/../config/environment.rb:14 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:28:in `gem\_original\_require’  
from  
/usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:28:in  
`require' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require’  
… 8 levels…  
from  
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39  
from  
/usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:34:in  
`gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:34:in `require’  
from script/server:3

please help me out with ur answers…

thanks  
Ambika.P
