Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- E, [2016-06-14T22:42:19.384405 #7872] ERROR -- : GSSAPI continuation error: Unspecified GSS failure. Minor code may provide more information
- GSSAPI continuation error: No Kerberos credentials available
- n/usr/local/lib/ruby/gems/2.2.0/gems/activerecord-4.1.4/lib/active_record /connection_adapters/postgresql_adapter.rb:888:in `initialize'n/usr/local/lib/ruby/gems/2.2.0/gems/activerecord-4.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:888:in `new'n/usr/local/lib/ruby/gems/2.2.0/gems/activerecord-4.1
- connection_params = {
- host: 'myserver.ru',
- username: 'myuser',
- krbsrvname: 'postgres',
- }
- connection_config = ActiveRecord::Base.connection_config.except(:username, :password, :host).merge(connection_params)
- ActiveRecord::Base.establish_connection(connection_config)
- development:
- adapter: postgresql
- encoding: unicode
- database: development
- host: localhost
- pool: 5
- username: postgres
- password: postgres
- # TYPE DATABASE USER ADDRESS METHOD
- host all all 192.168.0.0/16 gss include_realm=0 krb_realm=MYSERVER.RU
- host all postgres 127.0.0.1/32 md5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement