search for: superadmin

Displaying 14 results from an estimated 14 matches for "superadmin".

2003 Oct 01
1
Secondary groups
...user home directories that I've shared out via samba so that my non-linux level 1 guy can restore files using the drag-n-drop. Problem is, all directories are owned by their respective user and are set 700. In order for the admin users to access these directories, I've set admin user=@SuperAdmins for the share in smb.conf. The problem is, al the admin users have domain users as their primary group, and superadmins as a secondary. Access to the homes folder fails for all but user Administrator. If I switch my primary group to SuperAdmins, I am allowed access. I would rather not run w...
2011 Jun 30
2
Testing RSpec views: the index action; is my methodology flawed?
This is my organizations_controller_spec.rb: require ''spec_helper'' describe Superadmin::OrganizationsController do describe "GET index" do it "shows a list of all organizations" do #pending "don''t know why this doesn''t work" Organization.should_receive(:all) end end end ============ This is my controllers/su...
2010 May 21
0
Authlogic and Single table inheritance
Hi, I have some models such as: class User < ActiveRecord::Base acts_as_authentic end class Admin < User end class Superadmin < Admin end And some controllers such as: class UserSessionsController < ApplicationController def new @user_session = UserSession.new end def create @user_session = UserSession.new(params[:user_session]) if @user_session.save fla...
2007 Aug 06
2
Proposal: Pure Regex Router
So this has been an idea ever since Rails came out. Why not use a pure regular expression router in similar fashion to gsub? I imagine it working something like this: Merb::Router.prepare do |r| r.add %r[^/(.*)/(.*)/(\d+)$], :controller => ''\1'', :action => ''\2'', :id => ''\3'' r.add %r[^/user-(\d+)$], :user_id =>
2004 Mar 15
0
smbd/service.c:set_current_service(56) chdir (/var/ghost) failed
...when it's just assigned at the group level, I am unable to read/write to the folder. So it appears as though it's not able to do a group lookup to grant me permissions to the folder. Here is the folder listing and the logs. mntdlx74:/var/ghost # ll total 1 drwxrws--- 4 root US+SG-SuperAdmins 96 Mar 12 12:13 . drwxr-xr-x 23 root root 584 Mar 12 12:13 .. drwxrws--- 3 root US+SG-SuperAdmins 48 Mar 15 07:38 ghost drwxrws--- 3 root US+SG-SuperAdmins 48 Mar 12 12:12 ghost1 [2004/03/15 07:51:49, 1] smbd/service.c:make_connection_snum(705) usm...
2006 Jan 03
7
best authorization?
Hello, I want to allow some users to manage other user accounts, but do not want them to manage the admin account. I have tried auth_generator, login_engine and user_engine I am having a hard time gettign this to work. Looking for advise and help. Thanks Frank -------------- next part -------------- An HTML attachment was scrubbed... URL:
2012 Feb 14
3
domain quota in sql
Hi, I have a problem with setting up quota usage tracking for domains. Problem is, that domain quota is always based on only one user in domain, the last one on whom behalf any operation was performed. To recreate this situation, one has only to perform: doveadm quota recalc -u USER on a user, and the domain quota takes the value of this user quota. Have anyone a clue what could cause this
2011 Jun 04
2
need recipe for samba to do user authentication against a centos 5.5 openldap server (NO IDMAPS! NO PDC!)
...er passdb backend = ldapsam:ldap://ldap.domain.com *# looks like this syntax is deprecated. Whats the correct syntax? *smb.conf manpage is not making sense to me.... security = user ldap passwd sync = yes # is this needed? ldap ssl = no ldap admin dn = cn=superadmin,dc=domain,dc=com ldap suffix = dc=domain,dc=com ldap user suffix = ou=People ldap group suffix = ou=Group [Shared] comment = Shared Directories path = /shared read only = No create mask = 0600 directory mask = 0700 -----------------...
2011 Jun 13
0
Devise Authorization Error
...out => ''logout''} --- END routes.rb --- --- admin.rb (Model) --- class Admin < ActiveRecord::Base devise :database_authenticatable, :recoverable, :rememberable, :trackable, :validatable attr_accessible :email, :password, :password_confirmation, :first_name, :last_name, :superadmin end --- END admin.rb --- --- new.html.erb (The login form) --- <div class="login_container"> <div class="title_container">Administrator Login</div> <div class="content_container"> <%= flash[:notice] %> <%= flash[:alert] %> &l...
2009 Apr 28
3
[cucumber] Use of Scenario Outline for validation stuff ?
...with validation errors) I hope I''m clear. If I''m not, here''s an example code of what I''m talking about :Scenario Outline: Create a VAT **************************************************************************************************** Given I am logged in as a SuperAdmin user When I go to the VATs page And I follow "New VAT" And I fill in "vat_caption" with "<caption>" And I fill in "vat_value" with "<value>" And I press "Cr?er" Then I should see "<message>" And the VAT "&l...
2011 Sep 27
4
What best decision to make for flatfiles or SQL when I use Dovecot2 + Postfix together?
Hello, I'm moving my mail server from Exchange to an opensource one. After a bunch of reading, I decided on building a Dovecot2 + Postfix server in a VirtualUsers-only + Multiple-domains configuration. Since my messages will be stored by Dovecot, and the documentation is really good, I figured that it's smartest to configure Dovecot, then make Postfix 'fit' to it, sharing the
2009 Jul 25
3
Rails Authorization and Security question
Working through the Users and Authentication of Learning Rails book (great book, code needs to be proof-read in a few cases, though), I came across this: There''s still one leftover that may be worth addressing, depending on your security needs. The authorization? method has secured the data, and the view no longer shows the user options they can''t really use, but if a
2010 Jul 08
3
my web app seed data and cucumber
I''m writing a web app which is used a SaS. Each customer has their own db and app directory. I have a rake task which creates all necessary minimum data to run their website: default rights and roles, a superadmin user, a "us_states" table already populated, some local depots and terminals (it''s a logistics app). I don''t have any cucumber scenarios for it and I just started building some. I''m a beginner with cucumber. I first put that task in a Given line, but that is p...
2012 Oct 16
8
<form> tag is self-closing before input fields .. (HAML generator used)
...quot;> <th><a id="clearFilter" href="#">Clear</a></th> <th> <select name="role" id="role" class="input-medium list"> </option><option value="2">superadmin</option> <option value="3">manager</option> <option value="4">employee</option> </select> </th> <th><input type="text...