[Date Prev][Date Next]
Re: Schema Replication and data replication.
So I have installed openldap 2.4.35 and it shows in the dpkg -l list. From
the master that is running I ran:
slapcat -n0 -F /etc/ldap/slapd.d
on my server that I have ran the update on and the server that I have not
run the update on I run the following command:
slapadd -n0 -F /etc/openldap/slapd.d
On both servers I get the following error:
str2entry: invalid value for attributeType objectClass #0 (syntax
Here that section of the ldif file created by the slapcat command:
Am I just missing something simple?
Web Systems Administrator
O'Reilly Auto Parts
From: Quanah Gibson-Mount <firstname.lastname@example.org>
Date: 08/09/2013 11:11 AM
Subject: Re: Schema Replication and data replication.
Sent by: openldap-technical-bounces@OpenLDAP.org
--On August 9, 2013 9:07:06 AM -0500 email@example.com wrote:
> So I have been able to build a package for ubuntu. A few questions.
> I have yet to find where to set the default install directory when I
> run ./configure. The default is /etc/openldap and I would like to change
> it to /etc/ldap which is the current install directory.
> I was able to install the package but the version still shows version
> 2.4.28. Do I need to reboot the server?
First, you do not want to physically replace the distro provided OpenLDAP.
You want your build to install somewhere else, so that you don't overwrite
the distribution libldap, etc. If you do that, you may have a number of
issues with other software programs that were linked to them.
Second, the best course would be to simply slapcat your existing config,
and re-import it to a location specific to you, so that OS updates/upgrades
don't potentially wipe out your configuration.
I.e., you should isolate your production instance from the OS.
Additionally, I would note the -F option to slapd, etc. See the related
Hope this helps!
Principal Software Engineer
Zimbra :: the leader in open source messaging and collaboration
This message has been scanned for viruses and dangerous content,
and is believed to be clean.
Message id: 98FA5600A42.AF8AA
This communication and any attachments are confidential, protected by Communications Privacy Act 18 USCS § 2510, solely for the use of the intended recipient, and may contain legally privileged material. If you are not the intended recipient, please return or destroy it immediately. Thank you.