similar to: ActiveRecord - Switching Databases

Displaying 20 results from an estimated 1100 matches similar to: "ActiveRecord - Switching Databases"

2005 Dec 21
10
can an active records maps to N tables?
Hi, Is it possbile that one active record maps to N tables, actually the relation is 1 to 1, I wonder it is possible. also can a ruby object map to N tables, instead of an active records? Thanks you very much:) Saiho __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
2003 Oct 01
1
samba-3.0.0 & FreeBSD 5.1 not cooperating
Greetings, I think I may be having a slight configuration problem with Samba and FreeBSD-5.1. I'm trying to use FreeBSD's mount_smbfs(8) to mount a remote Samba share onto my local FreeBSD filesystem. With the configuration below, I can read all (almost; explained below) files and directories just fine. All permissions are correct. But whenever I try to write to the share, the write fails
2005 Jun 29
2
Samba3-ByExample
I have been working through the processes of getting my server up...( thanks to the help of John T. !!! I am now on page 167/168. It states... "Install the file shown in Example 5.4.1 in the directory /data/ ldap." The example states the following Example 5.4.1. LDAP DB_CONFIG File set_cachesize 0 150000000 1 set_lg_regionmax 262144 set_lg_bsize 2097152 #set_lg_dir /var/log/bdb
2009 Jan 15
2
[patch] libc Berkeley DB information leak
Hi, FreeBSD libc Berkeley DB can leak sensitive information to database files. The problem is that it writes uninitialized memory obtained from malloc(3) to database files. You can use this simple test program to reproduce the behavior: http://www.saunalahti.fi/~jh3/dbtest.c Run the program and see the resulting test.db file which will contain a sequence of 0xa5 bytes directly from malloc(3).
2017 Apr 11
2
Migrating from Centos 5 NT4 style to Centos 7 issues
Hi. I want to move my current domain running centos 5 to centos 7. Samba3x ==>Samba4x openldap 2.3x==>2.4.x I move my ldap backup that I got from backups: slapcap -l mydomain.ldif Next move my config files to the new server: /etc/ldap.conf /etc/openldap/slapd.conf /etc/openldap/ldap.conf Schemas are correct. Copy DB_CONFIG that doesn't exist on openldap 2.4, to /var/lib/ldap/
2006 Mar 22
15
Rails-1.1.0-RC1 tagged today (4010)
Looks like Rails 1.1.0 RC1 is finally here: http://dev.rubyonrails.org/changeset/4010 -- Posted via http://www.ruby-forum.com/.
2016 Jun 23
1
[PATCH] p2v: improve error message for sudo with password
Print a better error message when the non-root user on the conversion server requires a password to use sudo, and p2v is told to use sudo. See also RHZ#1340809. --- p2v/ssh.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/p2v/ssh.c b/p2v/ssh.c index 76a6827..97d76ae 100644 --- a/p2v/ssh.c +++ b/p2v/ssh.c @@ -97,6 +97,7 @@ static void free_regexps (void) __attribute__((destructor));
2016 May 31
2
[PATCH] p2v: require a non-interative sudo (RHBZ#1340809)
Run sudo with -n (non-interactive), so it will fail right away when not configured to not require a password. This will avoid the connection to time out. --- p2v/ssh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2v/ssh.c b/p2v/ssh.c index b432cbd..c6bf306 100644 --- a/p2v/ssh.c +++ b/p2v/ssh.c @@ -490,7 +490,7 @@ test_connection (struct config *config) */ if
2009 Jan 18
2
Starting slapd: /bin/bash: /tmp/start-slapd.K12378: Permission denied
Hi, I'm running Centos 5, with openldap Version: 2.3.27 Release: 8.el5_2.4. When I run: $ sudo /etc/init.d/ldap start I get the following error: Starting slapd: /bin/bash: /tmp/start-slapd.l14891: Permission denied (obviously the temp file number changes every time). It appears to be a permission problem but I thought I did everything to set up the permissions correctly... Everything
2010 Dec 15
2
Error reverse engineering MySQL with RMRE
Hi I am been trying in vain to auto-gen models by reverse-engineering mysql using RMRE. It complains mysql2 gem missing but as seen in my Rails environment below, it is there. Here''s my Rails environment and RMRE error. Experts... please help! Thanks a ton in advance!! === Ruby version 1.9.2 (x86_64-linux) RubyGems version 1.3.7 Rack version 1.2 Rails version 3.0.3 Active Record
2005 Oct 21
1
Advices for Samba and OpenLDAP
hi list, we have some trouble with openldap (back-bdb) and samba. i think it's more a problem with openldap and bdb (http://www.openldap.org/lists/openldap-bugs/200510/msg00185.html) but i want to know something about your experiences with openldap in large enterprises. what are your settings for slapd and bdb? or is there a better backend for slapd than bdb? which software versions are
2009 Dec 31
6
Oracle SQL driver
Hi all. Recently I was looking for an IMAP-server with Oracle support and unfortunatelly I couldn't find one. It was a surprise for me but there is no such functionality at all. So I've chosen an IMAP-server with most flexible and convinient architecture that was Dovecot-1.2.9 and written a driver for Oracle RDBMS support. I used Oracle Pro*C so a Pro*C preprocessor is needed to
2005 Mar 23
1
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)
I am getting random can''t connect to MySQL server errors on my Rails application located at http://www.thedatingguy.com/blog Do you have any clue why this is happening? This is the error: Mysql::Error (Can''t connect to local MySQL server through socket ''/tmp/mysql.sock'' (61)):
2017 Apr 11
2
Migrating from Centos 5 NT4 style to Centos 7 issues
I vaguely remember some issue where openldap between versions went from using a single file for config to a multiple file config. I think you could use the slapcat command to convert. On 04/11/17 16:16, Marc Muehlfeld via samba wrote: > Hi Alberto, > > I currently don't have an OpenLDAP server running, but let's try it > anyway. :-) > > > Am 11.04.2017 um
2007 Jun 23
7
rake db:migrate strange behaviour "wrong number of arguments (1 for 0)"
Hi everybody, May be somebody has a clue, why I get these errors below, while trying to migrate. Any help is very appreciated! Greetinx Rafael I was trying to experiment a litte bit with redMine (www.redmine.org). But I can only install it locally. On a system with already a mongrel_cluster running, I get strange errors, already while trying to start the migration rake db:migrate
2006 Jul 05
2
Serialized object behaves weird
Hi! I got a class named EinsatzFilter which I serialized to session. Before saving to session it works afterwards I keep getting the message: "undefined method `to_s'' for #<Person:0x38c6ab8>". "Person" is a from ActiveRecord::Base inherited class. Code: class EinsatzFilter include ApplicationHelper attr_reader :personen, :monat, :projekte, :kunde
2005 Feb 23
3
LDAP compatible
Hello people, i'm brasilian. I'm sorry for the erros... ok?! :-) Let's go! My company uses openldap-2.1.21. What is the version samba compatible with openldap-2.1.21?! I'm trying install samba-3.0.11, but it requires openldap-2.2.23. I don't want install the release openldap-2.2.23 for it. Thank you.
2005 Oct 03
3
Samba/OpenLDAP reliability issue: backend experience needed
Hi this is more of an OpenLDAP issue, but since it is mostly used with Samba, some experience would be helpful. We have a SLES9 PDC, running samba-3.0.14a, openldap 2.2.6 Sometimes, the OpenLDAP gets corrupted, no ideas why. It's a bad thing. We have 100+ computers, 300+ users, which shall get 350 computers and 800 users. What would you suggest in order to be reliable ? Reliability is
2005 Oct 21
3
Openldap for PDC
I have been testing with openldap_2.2.13-2 and have experience on 2 occasions lockups where the ldap server does not respond (slapcat will just hang). I have upgraded to openldap_2.2.13-4. Is there a recommended version of openldap for SambaPDC? Does anyone have a system in production using openldap_2.2.13-2 or openldap_2.2.13-4? I'm currently using samba3-20b any recommendations for a
2007 Jan 18
2
Why slapd dying?
I am wondering why slapd in my CentOS 4.4s erver was unable to run. I already configure ldap to start at boot and when I issue command /sbin/service ldap start it is sucessfully started but again when I check the status etheir thru service or by netstat, it was stopped and not exist respectively. Is anybody encountered this. If you need some more info just let me know. Thanks. junji linux