search for: warden

Displaying 20 results from an estimated 74 matches for "warden".

2010 Aug 19
0
Rails - Devise - Warden and InvalidAuthenticityToken
Hi I''ve just uploaded my new website to my server and, after a couple of teething problems, seem to be hitting problems when I am using devise and warden to authenticate users etc. The following is the error message with sensitive information removed: Processing RegistrationsController#create (for 81.111.90.194 at 2010-08-19 21:35:43) [POST] Parameters: {"commit"=>"Sign up", "action"=>"create", &quot...
2012 Apr 25
2
stats + fts squat plugins, indexer-worker error on message indexing
On RHEL 6.2 + dovecot 2.1.5 with the stats and fts (squat) plugins enabled and each user having their own uid on the system I get the following error in the logs when the indexer-worker process indexes some messages: Apr 25 09:56:19 wardentest3 dovecot: imap-login: Login: user=warden, method=PLAIN, rip=137.238.60.164, lip=137.238.2.240, lport=1993, mpid=19464, encryption=TLS Apr 25 09:56:26 wardentest3 dovecot: service=indexer-worker user=warden rip= Indexed 12 messages in INBOX Apr 25 09:56:26 wardentest3 dovecot: service=indexer-wo...
2010 Feb 05
7
I'm having trouble with Routes II
...an "/undefined" path somewhere ... can anyone suggest what I should be looking for to fix the problem? Processing ApplicationController#index (for 127.0.0.1 at 2010-02-04 16:53:40) [GET] ActionController::RoutingError (No route matches "/undefined" with {:method=>:get}): warden (0.8.1) lib/warden/manager.rb:34:in `call'' warden (0.8.1) lib/warden/manager.rb:33:in `catch'' warden (0.8.1) lib/warden/manager.rb:33:in `call'' F:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/validates_captcha-0.9.6/rails/init.rb:22:in `call'' F:/Insta...
2012 May 11
2
multi-instance doveadm user -m woes
I'm having difficulty with the doveadm who command on a multi-instance setup of dovecot. When I run the who command on the non-standard instance with the -m flag (to see their mail location), this happens: [root at wardentest3 dovecot]# doveadm -i mailtest user -m warden doveadm(root): Error: user warden: Initialization failed: Namespace 'INBOX.': Ambiguous mail location setting, don't know what to do with it: /var/spool/mail/root (try prefixing it with mbox: or maildir:) I tried adding my mail_location...
2012 Jan 27
0
Warden - how to setup custom encryptor
I`m writting sinatra app and i would like to setup encryption in Warden like i did it in devise when i used Rails. module Devise module Encryptors class Md5 < Base def self.digest(password, stretches, salt, pepper) str = [password].flatten.compact.join Digest::MD5.hexdigest(Digest::MD5.hexdigest(str)) end end...
2010 Jul 19
16
Strange Error undefined method `show' for # see no way to debug, suggestions?
.../plugin.rb:29:in `new'' haml (3.0.9) [v] rails/./lib/haml/template/plugin.rb:29:in `compile'' haml (3.0.9) [v] rails/./lib/haml/helpers/action_view_mods.rb: 13:in `render'' haml (3.0.9) [v] rails/./lib/haml/helpers/action_view_mods.rb: 13:in `render'' warden (0.10.7) [v] lib/warden/manager.rb:35:in `call'' warden (0.10.7) [v] lib/warden/manager.rb:34:in `catch'' warden (0.10.7) [v] lib/warden/manager.rb:34:in `call'' haml (3.0.9) [v] rails/./lib/sass/plugin/rack.rb:41:in `call'' -e:1:in `load''...
2006 Sep 02
15
service restart failures
Puppet is failing to restart lighttpd using the Debian init script. Both the default action of stop/start and using the reload action, which basically does the same thing, fail. It seems to be a filehandle problem. Changing the execute method in service.rb to redirect stdout to /dev/null allows the daemon to restart. Otherwise, I end up with a zombie process and according to strace, ruby
2010 Dec 21
3
doveadm "-S <socket_path>" option enabled in 2.0.8?
...led 2.0.8 and am trying to use doveadm to get the quota for a user using the -S <socket_path> option because I have different options for the various local IPs that dovecot listens on. For example, my default quota is filesystem (NFS rquota) and I can get that by doing: doveadm quota get -u warden which tells me: Quota name Type Value Limit % User quota STORAGE 1313476 1766400 74 But when I try to get my quota on a different local IP using the -S flag to doveadm: doveadm quota get -u warden -S 137.238.2.244...
2011 Feb 06
2
Controller Testing + Devise = boom (undefined @controller, request)
.../ruby-1.9.2-p136/gems/devise-1.1.5/lib/devise/test_helpers.rb:20:in `initialize'' # /Users/peter/.rvm/gems/ruby-1.9.2-p136/gems/devise-1.1.5/lib/devise/test_helpers.rb:60:in `new'' # /Users/peter/.rvm/gems/ruby-1.9.2-p136/gems/devise-1.1.5/lib/devise/test_helpers.rb:60:in `warden'' # /Users/peter/.rvm/gems/ruby-[/code] You''ll notice it says controller: nil. I modified the devise helper, as such: class TestWarden < Warden::Proxy #:nodoc: attr_reader :controller def initialize(controller) @controller = controller manage...
2007 Jan 17
11
scope issue after upgrade
I just upgraded to 0.22.0 from 0.18.4 and I''m running into what I think are problems due to changes in scope rules. In my site.pp manifest, I have the following: import "classes/*" node nfsserver { include nfsserver } node webserver { include webserver } class cluster1_sites { website { "example.com": ...; "example2.com": ...; } } node
2006 Sep 01
5
fileserver security
Is there any security (or perhaps plans to add security) within the fileserver to verify that clients are only able to receive files specified in the manifests on the server? I''d like to distribute different Kerberos keytabs to different nodes such that nodes www01 and www02 can retrieve different files from nodes www03 and www04. Any ideas on how best to approach this problem? Thanks,
2011 Apr 20
1
Omniauth facebook authentication failure
I am using devise and omniauth for authentication. Wherever i click on the facebook login button i get this warning msg. ****************************************** warning: peer certificate won''t be verified in this SSL session ****************************************** But now i get this error msg ***************************************** OpenSSL::SSL::SSLError SSL_connect returned=1
2011 Dec 06
8
explicit class dependencies
Do explicit class dependencies work? This simple example fails with: Could not find resource ''Class[Config]'' for relationship on ''Class[Uses_config]'' class config { } class uses_config { Class[''config''] -> Class[''uses_config''] } include uses_config Am I doing something? Thanks, Christian -- You received this
2006 Sep 11
4
User provider
Is it possible to override the provider parameter when describing a user? My Ruby skills are quite limited, but it appears that provider is always chosen based on the operating system. I would like to build a user provider that will be almost identical to the objectadd one, but uses cpu[1] to add users and groups to an ldap directory. Since the cpu commands basically mirror the native
2011 Nov 02
1
getting devise to return json data when signing out
...and line program), I can successfully log a user in using devise: def create respond_to do |format| format.json { if user_signed_in? return render :json => {:success => true, :errors => ["Already logged in."]} end resource = warden.authenticate!(:scope => resource_name, :recall => "#{controller_path}#failure") return sign_in_and_redirect(resource_name, resource) } end end def sign_in_and_redirect(resource_or_scope, resource=nil) scope = Devise::Mapping.find_scope!(resource_...
2012 Apr 19
1
active admin undefined method `' for nil:NilClass
...er.rb:68:in `block in call'' journey (1.0.3) lib/journey/router.rb:56:in `each'' journey (1.0.3) lib/journey/router.rb:56:in `call'' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call'' sass (3.1.15) lib/sass/plugin/rack.rb:54:in `call'' warden (1.1.1) lib/warden/manager.rb:35:in `block in call'' warden (1.1.1) lib/warden/manager.rb:34:in `catch'' warden (1.1.1) lib/warden/manager.rb:34:in `call'' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'' rack (1.4.1) lib/rack...
2012 Sep 04
2
How to get contact list from yahoo in rails using OAuth
I can successfully get the contacts from google using OAuth gem in rails. my gmail configuration is : :google=>{ :key=>"***", :secret=>"***", :expose => true, :scope=>"https://www.google.com/m8/feeds/" } now i want to get contact from yahoo and hot mail. How to get that contact I have given following configuration in my
2006 Sep 07
5
refresh on change of link target
I''m trying to trigger a service to be refreshed when the target of a symlink changes. Here''s how it''s configured: file { "/etc/lighttpd/sites-enabled/$domain.conf": notify => service[lighttpd], ensure => "/nfs/www/$domain/etc/lighttpd.conf", links => follow, } This causes the service to be refreshed everytime puppet updates, even if the
2012 Jan 28
4
How to migrate from md5 to bcrypt?
I would like to migrate users from my old phpfusion site but I have there hash password md5(md5) how to convert this passwords to bcrypt? I creating Sinatra app whre i use this passwords with Warden. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/KMxi3wD_tTsJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocF...
1997 May 05
0
Re: Re: Re: Buffer Overflows: A Summary
...echnique for escaping from chroot jails is to use the network. (For example, forge RPC, rlogin, NFS requests to localhost; etc.) But! Get this -- ptrace() and its cousins can be used for good! One can use ptrace-like mechanisms to construct up a better mousetrap,er, jail. The idea is to have a warden which traces the jailed process, receives an upcall each time the jailed process tries to do a system call, and validates that syscall against the security policy. This approach lets you control not just filesystem accesses, but also all other privileges (e.g. network access); with this, you can s...