similar to: problem with a selfmade helper method

Displaying 20 results from an estimated 100 matches similar to: "problem with a selfmade helper method"

2006 Feb 06
4
Basic MVC in RoR question
Ok, Here''s my controller: def create trainingplan = Trainingplan.createplan(@params[:startdate], @params[:enddate], @params[:hoursperweek], @params[:programtype]) end My model is: class Trainingplan <ActiveRecord::Base def self.createplan(stardate, enddate, hoursperweek, programtype) stardate = startdate enddate = enddate hoursperweek = hoursperweek programtype
2006 Jan 11
1
Selfmade ... Samba 3.0.20a on CentOS 4.0 x64
Hi all, has somebody already tried to compile the rpm of the newest samba package on a 64-bit CentOS. I tried to do it with the Fedora spec file and it quit with an error, that some files are not located in the lib64 directory. These required files are located in the lib directory. Any sugesstion how this problem could be fixed in a clean way? How is this problem solved during the CentOS
2005 Dec 08
1
Unable to give users access to folders within Samba share
Hi, I'm trying to give my users access to a folder contained within a Samba share, e.g. $ ls share drwxrwsr-x 14 fsuser DOMAIN\OldGroup 432 2005-12-07 15:35 . drwxr-xr-x 6 root root 128 2005-11-17 12:33 .. drwxrwsr-x 3 fsuser DOMAIN\OldGroup 136 2005-11-22 16:56 Archive drwxrwsr-x 2 fsuser DOMAIN\NewGroup 48 2005-12-07 15:35 test Note that the
2006 Jan 17
1
Can anyone get winbind to update group membership?
Hi all, Does this work for anyone out there? I've never gotten it to work: (the set up is Samba as a member of an Active Directory run by Windows servers.) -------------- 1. Pick an NT group that's been there since you installed Samba, and of which you are a member. I'll call it DOMAIN\Oldgroup. 2. Run "chgrp DOMAIN\\Oldgroup test" then "chmod g+w,o-w
2020 Jul 23
0
using samba-tool from a domain member other than the DC
Hi Rowland, ldap doesn't work for me either: > % samba-tool user list -H ldap://dc01.samdom.example.com -k yes > Failed to bind - LDAP client internal error: NT_STATUS_INVALID_PARAMETER > Failed to connect to 'ldap://dc01.samdom.example.com' with backend > 'ldap': LDAP client internal error: NT_STATUS_INVALID_PARAMETER > ERROR(ldb): uncaught exception - LDAP
2020 Jul 23
3
using samba-tool from a domain member other than the DC
On 23/07/2020 19:31, Jason Keltz via samba wrote: > Hi Rowland, > > I'm running smbd on the? DC.? I want to be able to do things like > adding a user, dns entry, etc. from my workstation without logging > into the DC. > > I can't get samba-tool to work with Kerberos, or ldaps, etc. As I said, I cannot get ldaps to work (yet), but: rowland at devstation:~$ sudo
2020 Jul 23
1
using samba-tool from a domain member other than the DC
Top posting. Is this in freenas jail, perhaps? If so, I'd take a long hard look at the underlying environment. Semi off-topic. FreeNAS on FreeBSD has a whole set of really weird issues, IMO. For example; I was trying to get rsync or rdiff-backup to run [not in a jail, but just in the base context] and performance was really terrible and it would bomb for larger file syncs to a remote Linux
2000 Feb 07
1
remote browse sync
HELP! I am becoming quite frustrated with trying to set up remote browse sync. I have several subnets and ONE workgroup. I want one host in the entire workgroup to have a complete browse list that it has collected from all of the local master browsers. One the master: local master = yes domain master = yes On one clients in each subnet: local master = yes remote browse sync = 1.2.3.4
2006 Apr 25
4
Support section revamp
Hi Folks, We've now reconnected the newgroup comp.emulators.ms-windows.wine to the wine-users mailing list, so they are, in theory, one 'virtual' community. We also revamped the web site a bit to try to make these things pop out a bit more. Please see this page in particular: http://www.winehq.org/site/getting_help Hopefully this will help people find a way to search for help and
2002 Apr 01
0
RE: [S] R for UNIX on Intel platform
You may get more response by posting this question on the R news list: r-help at stat.math.ethz.ch As for using R on Solaris, its easy to compile, looks and acts almost exactly like S-Plus 3.X. I use R on Sparc Solaris every day. -Greg > -----Original Message----- > From: Stafford Phillip-APS095 [mailto:phillip.stafford at motorola.com] > Sent: Monday, April 01, 2002 12:11 PM > To:
2017 Dec 04
0
Gluster 3.8.15 - Major CPU Load
Hi folks, Can someone give me an idea why gluster and the glusterd would be taking almost 25% cpu each when under a READ load. (No writing). I have setup just a simple three node system, and when I put it under a load of a number of clients; gluster is really killing the cpu. Anything I should specifically look at? Using v3.8.15. Basically all three machines replicate
2001 Mar 30
0
Update: AOL and WINE
I've actually got an update. I've _JUST_ managed to get AOL to start under wine, and even to connect. I can't seem to get E-Mail to work, or to get onto my NewGroup reader, (so, I'm still typing this under VMWare) but I _DID_ get IM's and chat... How? This is the setup, I'm actually running Transgaming CVS, I'm not sure if it will work with regular WINE CVS, but
2019 Feb 20
0
Changing UID numbers
On 2/16/19 12:14 PM, Bill Gee wrote: > ...After the usermod programs ran, I then did a "find -uid=500" with an exec option to change ownership. Repeat for changing GID. It found a few dozen files that were not in my home directory. > > On the server I ran the two "find" commands against the entire file system. It took about half an hour to run. No surprise there as
2007 Apr 17
0
net rpc query
Hi. I'm using samba-3.0.24 on a gentoo box. The samba machine is configured as a domain member server within a MS Windows 2003 active directory. It has been successfully joined to the domain and everything works, shares, kerberos, ldap. However, I cannot get nested groups to work, or more precisely, I cannot add a local group using net rpc. Here is what I am doing: gentoo ~ # net rpc
2006 Feb 02
0
proposed bugfix/patch: ActiveRecord cross-module associations
Hi, I''m still test driving the improved support for module namespaces in rails and I''ve hit a problem with associations between AR classes in modules and AR classes in the root namespace. The long and short of it is I want to be able to say: Foo::Bar.belongs_to :wibble, :class_name => "::Wibble" If you don''t try to prefix ''Wibble''
2016 Jul 21
3
[llvm-toolchain v3.8.1] LTO: Linking clang hangs with ld.gold and LLVMgold.so plugin
Hi, unfortunately, my build somehow hangs when linking clang binary and my system is in an unusable state. My toolchain is clang-3.8, gold-1.11 and LLVMgold.so from binutils v2.26.1 (both selfmade) and LTO-flag is enabled. My buildsystem uses cmake-3.6.0 and ninja-1.7.1 (both prebuilt). I have 52 last steps left in my 3rd build. My Linux-kernel is v3.13.0-92 from official Ubuntu repositories.
2004 Oct 06
1
R 2.0.0: namespaces, S4 classes & versioned package installation: failure to resolve correct pkg version
Hi, further down from the problem I asked about yesterday I encounter the following problem (please appologize for the lengthy mail - I have not found a brief example making the issue clear): - using R packages making use of namespaces & - S4 classes when using --with-package-versions in the install call: Pkgs install ok and the first pkg 'base' can be loaded in R
2006 Jun 16
0
Getting error on a group select
Hi, I''m very new with Ruby and Rails. I have read Agile Web Development with Rails and was trying to create a grouped selection list by following his example on page 359. My helper looks like this: module LoginHelper AssocOption = Struct.new(:code_name, :display_name) class AssocType attr_reader :type_name, :options def initialize(name) @type_name = name
2006 Jun 16
0
Getting an error on options_groups_from_collection_for_select
Hi, I''m very new with Ruby and Rails. I have read Agile Web Development with Rails and was trying to create a grouped selection list by following his example on page 359. My helper looks like this: module LoginHelper AssocOption = Struct.new(:code_name, :display_name) class AssocType attr_reader :type_name, :options def initialize(name) @type_name = name
2007 Feb 12
0
[862] trunk/wxruby2/swig/fixmodule.rb: Fix regression from upgrading to SWIG 1.3.31; cure lots of MSW crashes
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding: