search for: system_id

Displaying 5 results from an estimated 5 matches for "system_id".

2006 Feb 11
3
Creating new object using params posted from form
Hi, I have a problem creating an new instance of an object using params posted from a form. The object being created is not a sub class of ActiveRecord and is very simple. It''s model file is just: class Search attr_accessor :major_build_id, :minor_build_id, :environment_id, :system_id end The controller creates an empty instance variable the first time the page is called, else it tries to populate it with the values of params from the form. class ResultsController < ApplicationController def index list render :action => ''list'' end def...
1998 Jul 02
1
Synchronize Unix/SMB passwords with 'synchpasswd'
...YOUR OWN RISK !! # # # Modify these definitions to match your site's installation, and # your preferences. # $smb_passwd = "/usr/local/samba/private/smbpasswd" $add_script = "/usr/local/samba/bin/addtosmbpass" $private_dir = "/usr/local/samba/bin/private" $system_id = 99; # Remove user ID's below this value from SMB # # Let's go... # use Text::ParseWords; # For the 'quotewords' function chdir($private_dir); # # Scan through /etc/passwd. Create an array of names to pass to # 'addtosmbpass', but omit all system accounts. # printf(...
2010 Dec 23
0
has_many :through full stack help
...low what I think is relevant, I am beyond just hints at this point, I need help with the code itself - just cant get it to work. THANK YOU THANK YOU if you can help -------PRACTICE MODEL------- class Practice < ActiveRecord::Base attr_accessible :name, :tax_id, :location_ids, :employee_ids, :system_ids has_and_belongs_to_many :employees has_and_belongs_to_many :locations has_many :implementations has_many :systems, :through => :implementations validates_presence_of :name, :tax_id end -----SYSTEM MODEL------- class System < ActiveRecord::Base attr_accessible :system_publis...
2007 Jan 02
0
[PATCH 1/4] add scsi-target and IO_CMD_EPOLL_WAIT patches
...struct work_struct crq_work; ++ ++ unsigned long liobn; ++ unsigned long riobn; ++}; ++ ++static struct workqueue_struct *vtgtd; ++ ++/* ++ * These are fixed for the system and come from the Open Firmware device tree. ++ * We just store them here to save getting them every time. ++ */ ++static char system_id[64] = ""; ++static char partition_name[97] = "UNKNOWN"; ++static unsigned int partition_number = -1; ++ ++static struct vio_port *target_to_port(struct srp_target *target) ++{ ++ return (struct vio_port *) target->ldata; ++} ++ ++static inline union viosrp_iu *vio_iu(struct i...
2012 Jul 25
0
Active Directory on OpenIndiana: cannot set group permission
...ipal: <domain_admin_user>@<DOMAIN_NAME>.COM Valid starting Expires Service principal 24/07/2012 16:59 25/07/2012 02:59 krbtgt/<DOMAIN_NAME>.COM@<DOMAIN_NAME>.COM renew until 31/07/2012 16:59 24/07/2012 17:30 25/07/2012 02:59 ldap/<system_id>.<domain_name>.com@<DOMAIN_NAME>.COM renew until 31/07/2012 16:59 (showing a few lines of output) testparm output: Load smb config files from /etc/sfw/smb.conf rlimit_max: increasing rlimit_max (256) to minimum Windows limit (16384) Processing section "[user_bull]&quot...