search for: admin_us

Displaying 20 results from an estimated 35 matches for "admin_us".

Did you mean: adminus
2012 Oct 23
0
route problem
Hello I have this routes.rb Tamara::Application.routes.draw do ActiveAdmin.routes(self) devise_for :admin_users, ActiveAdmin::Devise.config resources :users resources :category do resources :berichten end end So I thought that localhost:3000/<category>/bericht/new I could write a new bericht which is stored in the <categoryname> But when I look at rake routes I dont see that...
2010 May 08
2
uninitialized constant - Please Help Me...
...or role to allow only certain individuals the ability to manage topics etc. That code is in the moderator_role.rb migration file which looks like this: class AddModeratorRole < ActiveRecord::Migration def self.up moderator_role = Role.create(:name => ''Moderator'') admin_user = User.find_by_username(''Admin'') admin_user.roles << moderator_role end def self.down moderator_role = Role.find_by_name(''Moderator'') admin_user = User.find_by_username(''Admin'') admin_user.roles.delete(moderator_role)...
2013 Oct 08
5
user management define once an add if required on server
...l I am looking for a solution for a module to define alle possible user and then install the one or more user from that module if needed on a server, but not all of them. My idea is something like this. Can I define a user in the nodes.pp at a special Server to install that user? init.pp class admin_user::group { group { "group1": gid => "888", ensure => present, } } class admin_user { include admin_user::group, admin_user::list } list.pp with many user like this class admin_user::list { admin_user::useradd { "test1": comment =&...
2010 Jan 18
2
Samba/winbind with Active Directory auth
...es to Windows users with seamless authentication on the smb server. For that, I've been reading and following every single google search result regarding the subject, but it seems I'm stuck at some point where other people are not blocked ... To summarize, I have these commands OK: # kinit admin_user at DOMAIN.EXAMPLE.COM # klist (ticket ok) # net join ads -S server -U admin_user # wbinfo -u and -g (both showing "DOMAIN\...") # wbinfo -t (succeeded) I configured PAM to use winbind, and to test it I'm using ssh with the same config as I will for samba Here's what I get when...
2006 Nov 09
2
help with join tables and has_and_belongs_to_many
...create_table :privileges_users do |t| t.column :user_id, :integer, :null => false t.column :privilege_id, :integer, :null =>false end admin_priv = Privilege.find_by_name(''admin'') user_priv = Privilege.find_by_name(''user'') admin_user = User.find_by_email(''admin-7Ts6kVb0ZJk@public.gmane.org'') admin_user.privileges << admin_priv admin_user.privileges << user_priv anon_user = User.find_by_email(''anon-7Ts6kVb0ZJk@public.gmane.org'') anon_user.privileges << user...
2004 May 05
0
ADS join failing?
Hello all, I'm not too sure we're having an ADS issue or not. Perhaps someone could shed some light on this for us? Here's what we're seeing during a net join: 14:32 myhost<42> sudo ./net join -S domaincontroller -U admin_user Admin_user password: [2004/05/05 14:33:39, 0] libads/ldap.c:ads_add_machine_acct(1006) Host account for myhost already exists - modifying old account [2004/05/05 14:33:39, 0] libads/ldap.c:ads_join_realm(1342) ads_add_machine_acct: No such object ads_join_realm: No such object ADS join did...
2006 May 12
5
Implementing URLs with more than 3 levels in Rails.
Hi There I started using Rails recently, and I see it''s very easy for URLs that have up to 3 levels: /:controller/:action/:id But what do you do when you need more than 3? For example, my current project should have an "admin" interface. Admin has several sub-interfaces, for example a "users" interface. And the admin/users interface has several actions, e.g.
2024 Sep 14
1
Netbios Issue
...I downloaded and built from source 4.21.0.? I copied the smb.conf file from my current production server over to the new server.? I did not change the netbios name as I just assumed (how foolish of me) that I would see two Samba servers with the same name.? I then ran these two commands: kinit admin_user at my.domain (I entered my password and got a ticket) net ads join -U admin_user When I did this, my production server stopped accepting requests to mount shares by the netbios name.? A little more info, in DNS my name will be "foo-bar.my.domain" also in DNS is an alias "foobar....
2010 Jul 15
2
Authlogic admin user functionality
I am using authlogic as a authentication engine in my rails app. I have two types of users 1) Users who are registered and has access to there own profile. 2) Admin user who has access to everybody''s profile In the user table i have a :is_admin field boolean field which defines the admin user. like the current_user method, Is there a way authlogic provides which can tell me if the
2007 Nov 02
5
RSpec, RESTful nested routes and :path_prefix
Dear list, In the app we are making we have a rout something like this: map.resources :projects do |projects| projects.resources :pages, :controller =>"Wiki::Pages", :path_prefix => "/projects/:project_id/ wiki", :name_prefix => "project_wiki_" end But I can''t get RSpec(I''m very new to it) to accept this. It keeps throwing errors:
2009 Sep 30
1
2 RESTful controllers for the same resource
Hi everyone I want to have two restful controllers for the same resource (Users) One controller (UsersController) is straight in the controllers folder and is used for singup and so on Then i need another controller for users which is inside an admin folder (Admin::UsersController) In my routes.rb i have map.resources :users # Sample resource route within a namespace: map.namespace
2024 Sep 14
1
Netbios Issue
...s name as I just assumed > (how foolish of me) that I would see two Samba servers with the same > name. The netbios name on a Unix domain member must be the same as the short hostname, would you have two machines with the same hostname ? >? I then ran these two commands: > > kinit admin_user at my.domain (I entered my password and got a ticket) > net ads join -U admin_user > > When I did this, my production server stopped accepting requests to > mount shares by the netbios name.? A little more info, in DNS my name > will be "foo-bar.my.domain" also in DNS...
2007 Jun 27
9
Newbie questions...
I''ve spent the last week or two poring over the documentation and setting up my first puppet environment, and while I''ve figured out how to do most of what I want to do with it, I have some questions that I haven''t been able to find answers for... * Can I match parts of a facter fact? In particular I have hostnames that include the environment as part of the
2012 May 21
1
Active Admin help
I have installed active admin and also add my model -controller rate_professor there.......I can add/delete/edit data using active admin ...but if I click on submit button of my form in rate_professor controller ... I can see whatever I added in the index page ........but I don''t want to see that one.....I want to find the information(whatever I added by clicking submit button) on
2007 Apr 26
1
Joining Samba 3.24 to 2003 ADS
...wiki.samba.org/index.php/Samba_&_Active_Directory#Prerequisites> &_Active_Directory#Prerequisites. I get mostly good results, except when I try to run 'getent passwd' or 'getent group' only local users/groups are listed. I was able to join the domain: net ads join -U admin_user The system shows up in AD under computers on the PDC. Afterwards if I do wbinfo -u, wbinfo -g, wbinfo -p, wbinfo -t, wbinfo -a ad_user%password All of those appear to work correctly. This however seems somewhat fishy, it says "Active Directory: No": 'wbinfo -D domain.com...
2003 May 02
1
Admin issues the Xth..
...problem is that I want to see stats at least and would like to administrate a software that can use up that much bandwidth.. Trying to connect to myserver:8000/admin/<whatever> results in a password dialog and I don't know the user/pass. I read the icecast source and found something like admin_user and admin_password, but everything I tried to make it work was in vain.. admin_password, admin-password, every spelling I could think of.. Any hints on that? What about doing regular releases? Open source philosophy is: Release fast, relases often. But it would be great if you could provide us w...
2005 Mar 23
1
Problems with Excel & MS Word files (still)
Problem is apparently with locking issues, disabled oplocks in the [general] section, and the problem actually got worse... Here's what happens: User-A part of group1, opens Excel file off of share, saves, exits... User-B (or even User-A for that matter) tries to re-open same file, get error stating it's locked and can only open for read-only access... Both users in the same group, and
2006 Jun 07
4
Table names
Can I use the table name "adm_users" (mysql)? Will that give the model name "adm_user"? Or should it be "admusers" and "admuser"? -- Posted via http://www.ruby-forum.com/.
2011 Nov 09
4
Starting out with puppet and capistrano
...rst attempt was to set up a git project for puppet, an admin user on the server and then use capistrano to deploy my puppet config and all manifests into a directory in the admin users home. Basically this would be the contents of the /etc/puppet directory. The idea was that I would deploy to /home/admin_user/infrastructure and then symlink that directory or /etc/puppet. This didn''t work because puppet blows away the symlink and sets up a blank directory in /etc/puppet. So I am wondering what to do next. Some options... 1. I could use rsync after deploy to copy the contents to /etc/puppet...
2012 Sep 16
1
“Routing Error No route matches {}” when omniauth failed on registration
...iddleware.use OmniAuth::Builder do #... provider :identity, on_failed_registration: lambda { |env| IdentitiesController.action(:new).call(env) } end config/routes.rb Wie::Application.routes.draw do root to: ''categories#index'' ActiveAdmin.routes(self) devise_for :admin_users, ActiveAdmin::Devise.config match ''auth/:provider/callback'', to: ''sessions#create'' match ''auth/failure'', to: ''sessions#failure'' match ''signout'', to: ''sessions#destroy'', as: '...