Displaying 20 results from an estimated 200 matches similar to: "Samba LDAP timeout"
2008 Dec 04
1
upload test images using rake with populator
I am wondering if it is possible to upload test images to the database
along with the other fake user data. I am using populator along with
faker for fake test data and it is working very well. I am able to do
things like:
User.populate 100 do |user|
user.username = Faker::Name.first_name
user.email = Faker::Internet.email
end
but I am wondering if theres a way to do
2011 Feb 07
9
Best way to populate development database
What would be the best way to populate a development database for a
Rails 3 app? I have looked at faker, but it seems that development has
stopped, any other options?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To
2007 May 09
1
snmp, cacti and shaping
Hi
I''m trying to move the tracking of the shaping from MRTG to Cacti. My
predecessor, who built all this stuff and was far more advanced than I,
had a shell script that collected data by running tc -s qdisc show dev
on both eth 0 and 1 and then pushing it out via snmp to another server
running MRTG. I''m building a new server with cacti and having trouble
with the custom
2008 Mar 07
6
creating a model registry
Hi all,
This is a problem I''ve approached so many times and always worked
around, that now I want to solve it once and for all. Say I have
something like this:
---
class X < ActiveRecord::Base
acts_as_wacky
end
module Wackinator
class ControlAllWackos
@@wackos = []
def self.kill_wackos
@@wackos.each(&:kill)
end
end
def acts_as_wacky
2008 Aug 27
1
Installing Drivers into [print$]
Hi,
I was looking though the easy Add Printer Wizard Driver Installation
instructions here
http://us6.samba.org/samba/docs/man/Samba-HOWTO-Collection/classicalprinting.html#id2620623
but found that it did not work.
After saying no to "Do you want to install the driver now" when
properties comes up nothing is editable so one can't connect to advanced
or new driver to install
2005 Nov 10
2
[PATCH] Increase MAX_SKBUFF_ORDER
Hi,
The recent (changeset 7700) switch to use the architecture
specific skbuff allocation routine breaks with very large MTU sizes.
The below patch raises the MAX_SKBUFF_ORDER to 3. Could this be
applied to make it the default?
Thanks,
Phil
Signed-Off-by: Philip Auld <pauld@egenera.com>
diff -r 136b2d20dc81 linux-2.6-xen-sparse/arch/xen/kernel/skbuff.c
---
2008 Aug 15
1
FAILED with error NT_STATUS_PASSWORD_MUST_CHANGE
Hi there,
I'm working on a new print server to replace one that's pretty long in
the tooth.
I'm using standard packages from Ubuntu Hardy Heron which appears to be
Samba 3.0.28a. We use LDAP for the authentication backend. I seem to
have that configured properly as I get a ldap_connect_system: succesful
connection to the LDAP server in the log but every login fails with:
FAILED
2008 Feb 18
6
inheriting static/class methods with new prototype.js class creation
Hey all.
I want something like this to work:
var Foo = Class.create();
Foo.myStaticMethod = function(){alert("I''m a static method!")};
Foo.myStaticMethod(); // works
var f = new Foo();
f.myStaticMethod(); // doesn''t work, but that''s good--I don''t want it
to
var Bar = Class.create(Foo);
Bar.myStaticMethod(); // doesn''t work, undefined :(
2013 Aug 22
1
How do I deal with ActiveRecord::RecordInvalid: Validation failed:
Hello all,
I am currently writing model tests in rails 4. I am attempting to add an
error to a reservation object if the total number of reservations for a
given date and time has reached a pre-determined limit.
When my test runs, it is hitting the appropriate code but it is raising the
following error as opposed to just giving me an error in the object that I
can use.
2009 Jul 20
9
rake error
When I run rake test:units I get this error:
292 tests, 350 assertions, 2 failures, 13 errors
rake aborted!
Command failed with status (1): [/usr/local/bin/ruby -I"lib:test" "/
usr/loc...]
This error just showed up yesterday --- I have no idea how I caused
it. Here is my gem list in case that helps:
actionmailer (2.3.2, 2.2.2)
actionpack (2.3.2, 2.2.2)
activerecord (2.3.2, 2.2.2)
2004 Aug 17
1
Samba3 and eDirectory as LDAP - HELP
I've got problem with Samba3 when I want to connect to eDirectory. The samba
could not connect to the local eDirectory server. The Samba and the eDir can
be found on the same Linux box which is a SusSe 9.1. The eDir and the Samba
are working pretty good but cant see each other. Is it possible to connect
from Samba 3 to Novell's eDirectory ? What are the syntaxes to these lines
in smb.conf:
2008 Mar 19
2
nil-error
Hi all,
I''ve got the error below in my backgroundrb_debug.log. I''ve tried to
reproduce the error in the development environment, but the only way I
can get the same thing is by calling ask_work with a bogus worker
name. Calling it with the production code causes no error.
Here''s an example of what the code calls:
MiddleMan.ask_work(:worker => :agronomy_worker,
2011 Apr 16
17
Rails 3 Crashing On Windows 7
Hi guys,
I have Rails 3 running on Windows 7 with Ruby 1.9.2
Every now and again, my server crashes, and I see the following
information in the windows event log:
Faulting application name: ruby.exe, version: 1.9.2.180, time stamp:
0x4d5ee5ed
Faulting module name: msvcrt-ruby191.dll, version: 1.9.2.180, time
stamp: 0x4d5ee5ec
Exception code: 0xc0000005
Fault offset: 0x0011a00e
Faulting process
2004 May 12
0
Ii do it for her
code-compatable biswanath compiledpattern
The biggest phaErmacy store! Save over 80%! More than 3,000,000 satiQsfied
customers this year!
V*ico*dinPain Killers
We SHIP US & INTERNATIONAL Low Price, OVERNITE Delivery, PRIVACY !
P M http://games.dixie-info.net/wdj/
Give up: http://games.dixie-info.net/wdj/rm.html
A guy is taking a walk and sees a frog on the side of the road. As he
2012 Dec 04
0
Empty test suite is run after every rake task
When I run rake db:migrate or rake -T I get these lines at the end:
Finished in 0.000276 seconds.
0 tests, 0 assertions, 0 failures, 0 errors
My Gemfile is:
source ''http://rubygems.org''
gem ''rack''
gem ''rails'', ''3.0.9''
gem "acl9", ''0.12.0''
gem "fastercsv"#, :version =>
2011 Jan 28
5
mysql quotation wonky
Why would, in an upgrade from 3.0.1 to 3.0.3, a rake db:migrate run
this:
SELECT "schema_migrations"."version" FROM "schema_migrations"
vs this ?
SELECT `schema_migrations`.`version` FROM `schema_migrations`
__ rake db:migrate output __
rake aborted!
Mysql::Error: You have an error in your SQL syntax; check the manual
that corresponds to your MySQL server version
2010 Sep 30
5
response.should have_text leads to undefined method `has_text?'
One of my controllers directly renders some JSON output that I would
like to test with RSpec. For that I use ''response.should
have_text("foobar")'' in my spec file, but that leads to a
Failure/Error: response.should have_text("enim")
undefined method `has_text?'' for #<ActionController::TestResponse:
0xb6736944>
I read here somewhere that webrat
2007 Mar 23
3
Re: [LARTC} how can I compile tc
Ok, I tried it out but for some reason it doesn''t take for the compile
process. This is, after export KERNEL_INCLUDE=/usr/src/linux/include/ if
I run export this declare -x KERNEL_INCLUDE="/usr/src/linux/include/" is
there. But when I run make in iproute2 I still get the
/usr/include/linux/ip.h:93:2: error: #error "Endian problem - this
didn''t happen"
2018 Apr 24
3
[OT?] Group Policy, drive maps and Cliend Site Caching...
Sorry for that email, but i'm really confused about the subject.
Starting point: in current configuration (Samba, NT mode) some portable
system have CSC enabled, and when go to another site... is another
site, eg does not fined the domain, so simply CSC 'work'' as expected.
Now that i'm moving computer to the new domain, that is the same domain
across all sites, i'm not
2011 Apr 07
3
[Rails 3] No route matches error using RSpec even though route DOES match
I''ve recently run into a really weird situation that I''m just not sure
what''s going on here. I''m trying to write a route that will allow
searches to be done via GET requests (generally a good idea since it''s
just retrieving information, helps for links and SEO, etc.), and I
have the route properly set up and can access it in development mode
just fine,