Displaying 20 results from an estimated 800 matches similar to: "html not rendering apache/mongrel"
2006 Aug 05
2
acl_system2 undefined method `access_control''
I''ve installed acts_as_authenticated and have that working like a charm
and now would like to add the acl_system2 plugin so I can do some role
based authorization stuff.
I went ahead and installed the plugin like this:
>ruby script\plugin source http://opensvn.csie.org/ezra/rails/plugins/dev/acl_system2
Then I installed the lib and test
>ruby script\plugin install lib
>ruby
2007 Aug 11
2
Rspec and acl_system2 plugin
Hello,
I''m trying to spec a Rails application using the couple
restful_authentication/acl_system2 plugins.
In my admin layout, I put the following code :
<% restrict_to "admin" do -%>
<ul id="admin-tabs">
<li> /users Users management </li>
</ul>
<% end -%>
Then in my spec file
2006 Aug 01
2
HOWTO? security based on data values
Hi!
I recently started with RoR and this may be a newbie question.
I have a company table, employee table and transactions table.
1 company has many employees. Each employee performs many transactions.
Employees from different companies LOGIN to the system to record their
transactions. Employees can search on all transactions associated to
their companies (indirect relationship via employee),
2007 Jul 06
3
stubbing helper methods for View specs
Hi there
I have several view specs, that include the following snippet in
their "before" block to stub the methods by acts_as_authenticated
before :each do
@u = mock_model(User)
@u.should_receive(:name).and_return("Hans Muster")
template.should_receive(:logged_in?).and_return(true)
template.should_receive(:current_user).and_return(@u)
end
this
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
2006 May 02
3
Writing tests for plugins
I''ve been googling around trying to find some tips on creating tests for
plugins. Am I correct in assuming that I''d have to have the tests as
part of a rails app in order to test the plugin? I''d like to find a way
to do standalone tests for the plugin.
--
Posted via http://www.ruby-forum.com/.
2006 May 10
0
Ezra''s acl_system2 and flash not getting populated in functional tests
Hi all,
I am using the LoginGenerator and Ezra''s acl_system2 to protect
certain actions in my controllers. I have written some functional
tests to check for correct handling of redirects, flashes, etc. The
flashes however only get populated on the first get action in any
given test. Here is what I have so far:
In the controller:
class PageController < AC
before_filter
2017 Jan 18
1
AD attibutes of the (in this case) member servers differences.
Hai,
Im setting up a new proxy with winbind en kerberos auth.
So far everything ok but now im setting up my nfsv4 (with automount with systemd) for my user login on that server.
For the new setup i compaired my old proxy with my new proxy.
I noticed the old proxy is missing some attibutes in the AD object.
For example,
Samba member1 ( installed as 4.3.x ) upgraded to 4.5.3 here
2014 Apr 08
1
wbinfo on DC and member server different output
Hai,
?
wbinfo -u?give?back?on?my?Domain?Controller.?
Administrator
Guest
krbtgt
dns-dc1
dns-dc2
and? wbinfo -g
Enterprise Read-Only Domain Controllers
Domain Admins
Domain Users
Domain Guests
Domain Computers
Domain Controllers
Schema Admins
Enterprise Admins
Group Policy Creator Owners
Read-Only Domain Controllers
DnsUpdateProxy
on the member server :??
administrator
dns-dc2
dns-dc1
krbtgt
2019 Aug 12
4
Windows cannot access \\server check the spelling of the name 0x800704cf
Windows 10? Then this is normal behaivor.
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Rowland penny via samba
> Verzonden: maandag 12 augustus 2019 15:50
> Aan: sambalist
> Onderwerp: Re: [Samba] Windows cannot access \\server check
> the spelling of the name 0x800704cf
>
> On 12/08/2019 14:18, Rich Webb wrote:
2020 May 12
4
bug report on mem2reg
Hi, all,
I think I found a bug on mem2reg in a particular case.
When I ran opt -mem2reg -basicaa -scalar-evolution -loops -da -analyze opts.ll, it collapsed. While without mem2reg option, it runs well. so I guess it has something to do with mem2reg.
The relative files have been affixed, please check them for me.
Thanks in advance.
liubaosen at tsinghua.edu.cn
-------------- next part
2015 Apr 24
5
Strange GPO rights samba 4.2.1
Hai,
?
Im having a strange thing with sernet samba 4.2.1 on debian wheezy.
?
I installed 2 dc.s with my scripts.
?
i did setup the sysvol replication and now im seeing the following when i create new policies.
?
The default GPO's
drwxrwx---+ 4 root????????? BUILTIN\administrators 4096 Apr 24 10:17 {31B2F340-016D-11D2-945F-00C04FB984F9}
drwxrwx---+ 4 root????????? BUILTIN\administrators
2014 Apr 17
1
samba4 bind9_dlz and dhcp
Hai,
?
A bit off topic in the samba forum, but i thinks this is the best place to ask.
?
Im having?some troubles to get the dhcp server fully working with samba4.
I dont think this is a samba problem, but as i did say here maybe the best placy to ask..
?
It works, but not totaly. The strange thing is for example.
?
My debian client is now working.? It adds and deletes as it should.? No
2007 Jul 24
6
Mocking Access Control
I''m trying to jump on the TDD/BDD bandwagon, but am having trouble
understanding how i should mock my user. The user has a habtm
relationship to a roles model (acl_system2 plugin), but I''m not sure
how to tell rspec about a model.
My code:
describe UsersController do
integrate_views
before(:each) do
@user = mock_model(User)
2011 Feb 05
2
Help!!! from R beginner
Hello,
I'm trying to add a column to the following data frame. The new column
will contain "black" when the 5th column(if_TE_related) is
"TE_related", or "orange" when the 4th column is " " (space).
"chromo" "MSU_locus" "end5" "end3" "if_TE_related"
"chr04" "LOC_Os04g01006" 1032
2007 Aug 23
0
how to manage group permissions?
Hey all,
In my app users can create groups and the group creator can "kick" or
"ban" users. I want the creator to be able to grant other members of
the group to kick and ban.
This is how I want to do it:
I''m usgin acl_system2 and the creator can grant kick and ban
permissions to group members by creating roles "kick_group_id" or
"ban_group_id" for
2015 Apr 24
4
samba 4.1.17 upgrade 4.2.x ( sernet) upgrades.. fail...
Hai..
?
Just tested an upgrade of 4.1.17 to 4.2.1?
result... Fail..
?
setup,
Debian wheezy, sernet samba packages.
2 clean installed DC's? and 1 windows 7 pc joined.
resolv.conf setup?
DC1 : namserver DC2 then DC1.
DC2:? namserver DC1 then DC2.
?
stopped samba on both servers.
upgraded the packages on both servers.
?
started samba on DC1 ( the one with fsmo roles )
waited 5 min.
2006 Jun 02
2
State of the Art in Login?
Hi folks,
I''ve got an older project I''ve used LoginGenerator for. It works pretty
well, but lacks password resetting, etc.
Now I''ve got a new project for a client that''s going to need login
capabilities as well. I''ve been looking at the Salted Login Generator
and the Login Engine, and have taken quick stabs at running through the
installation
2006 Jul 25
2
Authentication design/ideas
Hi all,
I''m using acts_as_authenticated for the front end facing part of my
site. I have a model called Customer. I now want to protect the admin
sides of things. I am thinking of using Ezra''s acl plugin
(http://opensvn.csie.org/ezra/rails/plugins/dev/acl_system2/README)
for this. My only problem is that I don''t want the model for admin
users to be called Customer,
2014 Mar 05
1
A and/or PTR record deleted after pc wake-up
hai,
?
I just noticed, after my pc woke up my A record disapearred. of my 64bit windows.
?
?
Mar? 5 15:43:13 rtd-dc1 named[3717]: samba_dlz: starting transaction on zone INTERNAL.DOMAIN.TLD
Mar? 5 15:43:13 rtd-dc1 named[3717]: client 10.249.250.64#49271: update 'INTERNAL.DOMAIN.TLD/IN' denied
Mar? 5 15:43:13 rtd-dc1 named[3717]: samba_dlz: cancelling transaction on zone