Re: Fwd: Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing

2013-01-04 Thread fal patel
Oho, so you agree that the OpenLDAP Guide Section 18.3.3 "N-Way Multi-Master" fails to work as is with the Section 10.2 "Creating a database off-line", specifically with Section 10.2.1 "The slapadd program"? And you're failing or refusing to provide a LDIF file for the above that that actually wor

Re: Fwd: Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing

2013-01-03 Thread Quanah Gibson-Mount
--On Thursday, January 03, 2013 9:28 PM -0800 fal patel wrote: It should be acceptable as an LDIF as input to slapadd. If it is not, it is buggy by definition. Remember, we should be able to perform database configuration OFF-LINE. ie. without slapd running. And obviously when off-line, slapad

Re: Fwd: Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing

2013-01-03 Thread fal patel
Hi Philip, If you can't post it, could you please email me a *working* LDIF file of Section 18.3.3 "N-Way Multi-Master"? (I can substitute my real values if you keep the "$xxx" labels in there, of course.) My comments in-line below. Thanks in advance Fal On Thu, Jan 3, 2013 at 8:02 PM, Philip

Re: Fwd: Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing

2013-01-03 Thread Philip Guenther
NOTE: I am not an OpenLDAP project developer and do not have any sort of commit rights to any part of it. On Thu, 3 Jan 2013, fal patel wrote: > Thank you very much for your emails. > > Well, it doesn't work for me, and hasn't for the two weeks I've been > wrestling with it. > > Could you please

Fwd: Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing

2013-01-03 Thread fal patel
-- Forwarded message -- From: fal patel Date: Thu, Jan 3, 2013 at 3:28 PM Subject: Re: Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing To: openldap-techn...@openldapl.org, Howard Chu , Philip Guenther Cc: fal patel Hi Howard and Philip, Thank you very

Re: Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing

2013-01-03 Thread Howard Chu
fal patel wrote: Hi Philip, hank you very much for your email. In that case, my original surmise is correct: The OpenLDAP Administrator's Guide's Section 18.3.3 "N-Way Multi-Master" definitely is buggy. Because my LDIF file is a direct copy thereof (except for my environment values substituted

Re: Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing

2013-01-03 Thread Aaron Richton
On Thu, 3 Jan 2013, fal patel wrote: How can this be reported as a bug, please?  (In OpenLDAP documentation or/and code). Documentation and/or code issues are welcomed in the OpenLDAP ITS so feel free to submit there. Patches/specific wording recommendations wou

Re: Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing

2013-01-03 Thread fal patel
Hi Philip, hank you very much for your email. In that case, my original surmise is correct: The OpenLDAP Administrator's Guide's Section 18.3.3 "N-Way Multi-Master" definitely is buggy. Because my LDIF file is a direct copy thereof (except for my environment values substituted in instead of the

Re: Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing

2013-01-02 Thread Howard Chu
Dieter Klünter wrote: Am Tue, 1 Jan 2013 23:50:20 -0800 schrieb fal patel : Assuming not, I typed in each value into all its relevant places in my LDIF file and re-ran slapadd. Now it gives me the following error (on latest redhat 64bit): loaded module syncprov.la *module syncprov.la: null modul

Re: Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing

2013-01-02 Thread Philip Guenther
On Wed, 2 Jan 2013, fal patel wrote: > Thanks very much for your advice! On to the next problem: > I can't understand what in the world could be causing the following error: > >>> dnPrettyNormal: > <<< dnPrettyNormal: , > *<= str2entry: str2ad(changetype): attribute type undefined* > slapadd: co

Re: Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing

2013-01-02 Thread fal patel
Hey Dieter, Thank you very much for your email. It turns out that in RedHat the overlays are automatically installed, and so should not be loaded again with olcModuleLoad. Thanks very much for your advice! On to the next problem: I can't understand what in the world could be causing the followi

Re: Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing

2013-01-02 Thread Dieter Klünter
Am Tue, 1 Jan 2013 23:50:20 -0800 schrieb fal patel : > Hey Quanah, > > Oh no, my question was whether an arbitrary external variable (eg. > URI1) could be set (eg. to ldap://host1.hq.mycompany.com:389/) inside > an LDIF file and used in subsequent places in the file. > (to avoid having to type i

Re: Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing

2013-01-01 Thread fal patel
Hey Quanah, Oh no, my question was whether an arbitrary external variable (eg. URI1) could be set (eg. to ldap://host1.hq.mycompany.com:389/) inside an LDIF file and used in subsequent places in the file. (to avoid having to type in the value in multiple places). I suppose not? Assuming not, I ty

Re: Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing

2012-12-31 Thread Quanah Gibson-Mount
--On Monday, December 31, 2012 9:49 AM -0800 fal patel wrote: Hey Quanah, Thank you very much for the debugging tip!  -- Using it I got further in. Now I get an error "<= str2entry: str2ad(UR1): attribute type undefined". I must be setting my external variables (such as UR1) incorrectly in my

Re: Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing

2012-12-31 Thread fal patel
Hey Quanah, Thank you very much for the debugging tip! -- Using it I got further in. Now I get an error "<= str2entry: str2ad(UR1): attribute type undefined". I must be setting my external variables (such as UR1) incorrectly in my LDIF file. What is the correct syntax for setting them, please? I

Re: Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing

2012-12-29 Thread Quanah Gibson-Mount
--On Saturday, December 29, 2012 9:01 AM -0800 fal patel wrote: (3)  Where It's Failing: = I first executed the following: slapadd -v -F /usr/local/etc/openldap/slapd.d -b bdb -l mmr.ldif This is nonsensical. You are adding a cn=config DB. Thus you cannot use a base of "b

Re: Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing

2012-12-29 Thread fal patel
l be in the admin guide<http://www.openldap.org/doc/admin24/replication.html#N-Way%20Multi-Master>soon, I promise [image: ;-)] Right, the following is all in LDIF<http://en.wikipedia.org/wiki/LDAP_Data_Interchange_Format>format and you *slapadd* them to your *cn=config* on the amount of Ma

Re: Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing

2012-12-28 Thread Bernd May
From the manpage of slapadd: '-n dbnum Add entries to the dbnum-th database listed in the configuration file. The -n cannot be used in conjunction with the -b option. To populate the config database slapd-config(5), use -n 0 as it is always the first database. It must physically exi

Re: Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing

2012-12-28 Thread Dieter Klünter
Am Fri, 28 Dec 2012 00:14:15 -0800 schrieb fal patel : > Hi Dieter, > > Thank you very much, but even though I spent all day trying to figure > out the problem I could not make any progress at all. > > The mmr_servers.ldif file I provided is an *exact* copy of the > OpenLDAP 2.4 Administrator's

Re: Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing

2012-12-28 Thread fal patel
Hi Dieter, Thank you very much, but even though I spent all day trying to figure out the problem I could not make any progress at all. The mmr_servers.ldif file I provided is an *exact* copy of the OpenLDAP 2.4 Administrator's Guide Section 18.3.3 "N-Way Multi-Master", so if it is not working it

Re: Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing

2012-12-27 Thread Dieter Klünter
Am Thu, 27 Dec 2012 02:22:18 -0800 schrieb fal patel : > Oops -- forgot to enter subject-line! > > > On Thu, Dec 27, 2012 at 2:11 AM, fal patel > wrote: > > > Hello, > > > > I'm trying to accomplish Multi-Master OpenLDAP Replication for 3 > > nodes, but it's not working. [...] > > > > (1) The

Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing

2012-12-27 Thread fal patel
Oops -- forgot to enter subject-line! On Thu, Dec 27, 2012 at 2:11 AM, fal patel wrote: > Hello, > > I'm trying to accomplish Multi-Master OpenLDAP Replication for 3 nodes, > but it's not working. > > Specifically, per The OpenLDAP 2.4 Administrator's Guide, Section 18.3.3 > "N-Way Multi=Master

Multi-Master OpenLDAP Replication for 3 nodes -- slapadd command failing

2012-12-27 Thread fal patel
Oops -- forgot to add subject-line! -- Forwarded message -- From: fal patel Date: Thu, Dec 27, 2012 at 2:11 AM Subject: To: openldap-technical@openldap.org Cc: fal patel