Hi,
I've been trying out lately the latest feature with LDAP Authentication. I'm
not that much used to the ruby environment so excuse my missing knowledge if
this looks like an easy question. When I try to test the LDAP connection, this
is the error I get :
/home/git/gitorious/vendor/rails/activesupport/lib/active_support/dependencies.rb:443:in
`load_missing_constant': uninitialized constant SampleCallback (NameError)
from
/home/git/gitorious/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in
`const_missing'
from
/home/git/gitorious/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in
`const_missing'
from
/home/git/gitorious/vendor/rails/activesupport/lib/active_support/inflector.rb:361:in
`constantize'
from
/home/git/gitorious/vendor/rails/activesupport/lib/active_support/inflector.rb:360:in
`each'
from
/home/git/gitorious/vendor/rails/activesupport/lib/active_support/inflector.rb:360:in
`constantize'
from
/home/git/gitorious/vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb:162:in
`constantize'
from
/home/git/gitorious/lib/gitorious/authentication/ldap_authentication.rb:44:in
`setup_attributes'
from
/home/git/gitorious/lib/gitorious/authentication/ldap_authentication.rb:28:in
`initialize'
from
/home/git/gitorious/lib/gitorious/authentication/configuration.rb:41:in `new'
from
/home/git/gitorious/lib/gitorious/authentication/configuration.rb:41:in
`add_custom_method'
from
/home/git/gitorious/lib/gitorious/authentication/configuration.rb:24:in
`configure'
from
/home/git/gitorious/lib/gitorious/authentication/configuration.rb:24:in `each'
from
/home/git/gitorious/lib/gitorious/authentication/configuration.rb:24:in
`configure'
from /home/git/gitorious/config/initializers/authentication.rb:23
from
/home/git/gitorious/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in
`load_without_new_constant_marking'
from
/home/git/gitorious/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in
`load'
from
/home/git/gitorious/vendor/rails/railties/lib/initializer.rb:622:in
`load_application_initializers'
from
/home/git/gitorious/vendor/rails/railties/lib/initializer.rb:621:in `each'
from
/home/git/gitorious/vendor/rails/railties/lib/initializer.rb:621:in
`load_application_initializers'
from ./config/../vendor/rails/railties/lib/initializer.rb:176:in
`process'
from ./config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
from ./config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
from ./config/environment.rb:24
from script/test_ldap_connection:8:in `require'
from script/test_ldap_connection:8
Any ideas why I get this error message?
Thank you
Kevin
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]