Letractively / rubycas-server

Automatically exported from code.google.com/p/rubycas-server
GNU Lesser General Public License v2.1
0 stars 0 forks source link

RUBYCAS Server without Database #91

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Remark all entries of database authentication
2. Remark all entries of the SQL database connection 
3. Start rubycas-server

What version of RubyCAS-Server are you using? How is it installed (rubygem,
manual install)? How are you running it (webrick, mongrel, passenger,
etc.)?

installed using gem install rubycas-server.
running on webrick with ssl.

I need only LDAP and no Database authentication. 

If relevant, please paste your RubyCAS-Server config.yml file here.

server: webrick
port: 443

ssl_cert: /root/ruby/SSL/rubycas-server-demo.pem

authenticator:
  class: CASServer::Authenticators::LDAP
  ldap:
    host: notes1.domino.mydomain.com
    port: 63148
    base: cn=SURESH NAMBIAR,ou=HO,o=DOM
    username_attribute: uid
    filter: (objectClass=person)
    auth_user: cn=agent admin,ou=HO,o=DOM
    auth_password: *******

theme: simple

default_locale: en

log:
  file: /var/log/casserver.log
  level: INFO

Please provide any additional information below.

Error is as displayed. 

[root@rubycas_sn rubycas-server]# rubycas-server
Loading picnic from rubygems...
DEPRECATION WARNING: require "activesupport" is deprecated and will be
removed in Rails 3. Use require "active_support" instead. (called from
/opt/rubygems/gems/activesupport-2.3.8/lib/activesupport.rb:2)
Loading "rubycas-server" code from "/opt/rubyCASserverCurrent"...
Loading configuration for "rubycas-server" from
"/etc/rubycas-server/config.yml"...
/opt/rubygems/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abst
ract/connection_specification.rb:62:in
`establish_connection': unused database is not configured
(ActiveRecord::AdapterNotSpecified)
        from
/opt/rubygems/gems/picnic-0.8.1.20100201/lib/../vendor/zuk-camping-2.0.20090429/
lib/camping/server.rb:19:in
`connect'
        from
/opt/rubygems/gems/picnic-0.8.1.20100201/lib/../vendor/zuk-camping-2.0.20090429/
lib/camping/server.rb:14:in
`initialize'
        from
/opt/rubygems/gems/picnic-0.8.1.20100201/lib/picnic/cli.rb:161:in `new'
        from
/opt/rubygems/gems/picnic-0.8.1.20100201/lib/picnic/cli.rb:161:in
`handle_cli_input'
        from /opt/rubyCASserverCurrent/bin/rubycas-server:13

Original issue reported on code.google.com by nambia...@gmail.com on 2 Jun 2010 at 4:48

GoogleCodeExporter commented 8 years ago
RubyCAS-Server still needs a database for storage of various internals (session 
and 
login tickets, etc.)

You can use something lightweight like sqlite for this if you don't want to run 
a 
full-fledged database server. 

Original comment by matt.zuk...@gmail.com on 2 Jun 2010 at 5:40

GoogleCodeExporter commented 8 years ago

Original comment by matt.zuk...@gmail.com on 8 Jun 2010 at 9:51