Displaying 20 results from an estimated 1000 matches similar to: "Restore password without session initialized"
2008 Jul 12
1
Re: Re stful_authentication, Internet Explorer, and unwanted http basic dialog
I''m glad I found your post Joshua - it saved me quite a bit of time!
To get this to work for me however (IE6), I had to ditch the ||= and do
straight assignment:
request.format = :html if request.env[''HTTP_USER_AGENT''] =~ /msie/i
Joshua Doss wrote:
>
>
> Alter access_denied to add this line (right below "def access_denied"):
>
>
2008 Jan 30
2
Where can I get "authenticate_with_http_basic"?
Hi,
I just installed Rails 2.0.2
[root@mymachine easyx]# ruby --version
ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-linux]
[root@mymachine easyrx]# gem install rails --include-dependencies
Need to update 16 gems from http://gems.rubyforge.org
................
complete
Successfully installed rails-2.0.2
[root@remandev easyrx]#
But I''m getting this error in my restful_authentication
2008 Jan 17
0
It seems to be a restful_authentication bug (was Re: Re: named route new_session not working)
On 1/16/08, Jimmy Palmer <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:
>
> sorry for the ambiguity. I will work on being more descriptive. :)
>
> In the method access_denied in the file authenticated_system.rb from
> restful athentication, it generates this:
>
> def access_denied
> respond_to do |format|
> format.html do
>
2008 Jan 16
5
named route new_session not working
Anyone have any idea why a named route would NOT work? I did rake
routes to make sure it was there and it was but for some reason
new_session doesn''t work.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,
2009 May 01
5
Layout antics
I have a strange problem with my layout file. I think it may be due to
nested partials, but removing the deepest nested partial call does not
clear the problem.
I have an application wide layout (application.html.erb) that works as
expected - loads images, javascript, css etc for my application.
So http://localhost:3000/patients --> fine
http://localhost:3000/patients/new --> fine
2008 Jun 17
3
Help with error - uninitialized constant AuthenticatedSystem::Base64
I am using restful_Authentication plugin combined with the built-in
http_basic authentication Rails 2.0.2
The following code in my controller seemed to work fine,
1. before_filter :authenticate
2.
3. def authenticate
4. case request.format
5. when Mime::XML, Mime::ATOM
6. if user = authenticate_with_http_basic { |name,
pass| User.authenticate(name,
2005 Dec 15
2
Passing parameters to before_filter methods
I have a method that checks for a given role. I want to write
something in my controllers like
before_filter :check_roles(''admin'')
Which will ensure the current user has the admin role. Is it possible
to pass parameters in this way?
Ian
2007 Feb 27
1
Centos4 and IBM x346
im triying to install linux on a IBM x346 thats uses the a320raid driver, this machines has 2 disk as a raid 1 (with W2003 Server)and a third disk for Centos4.
when i install Centos its see 3 disk, no the raid, my question is, those grub depends on Linux seing the raid for properly bootup, because when i install grub in /dev/sda i does not load ok.
Im triying to setup a dual boot machine as you
2007 Aug 04
2
Modifying the restful_authentication plugin / Classes creating instances of themselves.
Hi,
I''m trying to modify the restful_authentication plugin so that it
first authenticates against LDAP (Active Directory), if successful, it
tries to find a matching user with the same username in the database,
through a model ''user''. If it finds a user, it updates a last_login
attribute; if it doesn''t find one, it creates one. The "remember me"
2011 Jan 14
4
ATI 5770 and Wow (low )
Hello plp,
I? triying to play wow with a ati 5770 and is imposible to do it (in medium -high grapihcs). Does anyone how to play in a good graphics?
I have delete my ~wine, re-instaling last version, winetricks, I have disabled GLSL, etc I have triying to play in directx11 and the results are the same I cant play in medium-high quality. I use amd drivers with 3d acelaration. If anyone have any
2006 Mar 22
4
Problem with ACL plugin system
Don''t know if anyone else has experienced this but I''m having a problem
with the access_denied method in Ezra''s ACL access control plugin. It''s
working fine (in conjunction with acts_as_authenticated) until it comes
across a user it denies access to, in which case it throws the following
error:
NoMethodError in Admin#index
protected method
2007 Aug 30
0
open_fake_file access_denied file[$Extend/$Quota:$Q:$INDEX_ALLOCATION]
By very few users the Samba log files get clogged with access_denied
messages at open_fake_file_shared every 15 minutes:
smbd/fake_file.c:open_fake_file(114)
open_fake_file_shared:
access_denied to service[<aShare>]
file[$Extend/$Quota:$Q:$INDEX_ALLOCATION]
user[<aUser>]
open_fake_file fails with this error if the
2011 Jun 06
1
after upgrade to 2.x, sieve do not create folder
after upgrade to 2.x, sieve do not create folder, which do not exist.
i remenber(maybe wrong) 1.2.x sieve plugin will create folder, if it do
not exist.
the sieve log like this
failed to store into mailbox 'dovecot': Mailbox doesn't exist: dovecot
can i config sieve automatic create the folder?
please help, and thank you.
2007 May 15
1
unix network printing
Dear gentleman,
i am deploying and unix/windows network and samba has been doing a
great job since so far. But now, i am in need to set my network
printers to be able to receive jobs from any machine in the network.
Some time ago, i reached an internet site related to printer in unix
environment. It was very useful since there was detailed information
for hundreds of printer device capabilities
2007 Jun 14
1
Error: bad value ? what is that?
Hi,
I'm finding a very strange error.
For no good reason my R console (Rgui.exe, R 2.5.0, under win XP) stops
producing anything meaningful, and just returns:
Error: bad value
to _whatever_ I enter. It starts doing this after a while, not immediately
when launched.
I have to restart R when this happens.
No idea why. I didn't change anything in the R config that I remenber.
Any
2007 Feb 28
4
acts_as_authenticated error with Object#id
I''m getting this when I run my Rails controller specs.
<projectroot>/config/../lib/authenticated_system.rb:16: warning: Object#id
will be deprecated; use Object#object_id
I added "include AuthenticatedTestHelper" to /spec/spec_helper.rb so
that my controller tests^H^H^H^H^Hspecs can use the "login_as" helper
method. Anyone know how to fix this?
--
Cheers,
2016 Nov 02
1
winbind trust account password management
I'm running Samba v4.4.4 as a domain member server in security=domain
mode. Our 3 domain controllers are Server 2012r2.
Every 3-4 days, I see log messages from winbind saying
"winbind_samlogon_retry_loop: sam_logon returned ACCESS_DENIED".
Sometimes this corresponds to a trust password change, but not always.
Today, new connections to Samba were failing with the error
2014 Dec 19
2
Does Samba 4 actually respect Unix file acls?
Hello Jeremy,
Friday, December 19, 2014, 4:55:21 PM, you wrote:
> On Fri, Dec 19, 2014 at 03:58:58PM -0500, Rufe Glick wrote:
>> Hello Jeremy,
>> > Do alice and bob have the same user ids on client
>> > and server ?
>> Yes, the uids and gids are identical on both server and client machines.
> Then it should work. Set debug level 10 on the smbd
> and look
2003 Oct 05
1
Samba 3.0 issues with mapped drives properties
Mandrake 9.1 Samba 3.0, windows2000 pro sp4.
I finally got Samba 3.0 working thanks to G?mes G?za. Now I am having
another issue as outlined below:
1)There are 2 users on the Linux pc, markw (regular user) and root. Both
have valid samba passwords.
2)I have a share called:
[data]
path = /test
valid users = markw, root
read only = No
browseable = yes
3)I am able to map the share with the user
2016 Feb 23
2
CentOS install disable USB keyboard on Acer AXC 603G UW13
Hi. I am triying to set up CentOS 5 on an Acer AXC 603G UW13. The install turn off my USB keyboard between /sbin/loader and the media check prompt screen.
What I can do to get the install working with the USB keyboard?
Thanks.
Juan De Mola
molaxp at aol.com