[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Error 53 applying syncrepl LDIF
- To: openldap-technical@openldap.org
- Subject: Error 53 applying syncrepl LDIF
- From: Hung Luu <hung.n.luu@gmail.com>
- Date: Fri, 29 Jan 2010 13:56:01 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=3iwNBEHUa1KDyicGHgY6U61jMKbr/EzYrv1Kq+4XasU=; b=hTyeHnqZI0Tqrim1gPRVykHgejeIdioG5ur+yYY+6FTA/h7RhqA8diVIczHFKyFcHM mTOsNNVrjeXWfGUihxzCqyLRcB9b4FrHPgkbc1qiOtfgWxzZyVOK3WgxYguM5oal2NqH CAPT+TLzdilVpShpmg7TVB+Il7wOsgiJQMp7s=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Ove39TT2OhFSj3MCJkahy94IUQ7bxpN0ZeQUq1dwRLewWMc2vs5O4bhQ0MFlTMUrmA XP+C5YMT3z4RYDkEjicDwnDbri7yWDrdyuQtu7RVJUbMF9uNbPAhXAEXC85PRszD8KQO CNLcSSo6ruo/CudnZHvPdEbkeubkAslqMY3lk=
Hello all,
In a syncrepl setup, I understand that the syncrepl specification is defined on the consumer server. I understand this to mean that I should apply my LDIF (that adds the olcSyncrepl attribute to my config and hdb backends) on the consumer server. However, ldapadd was only successful in configuring my config backend for syncrepl, which is defined first in the LDIF, and failed with LDAP error 53 when attempting to add the olcSyncrepl attribute to my hdb backend; additional error info: "shadow context; no update referral."
Is this because the olcSyncrepl attribute added to my config backend already established my consumer server as a replica and hence subsequent writes to the consumer server will not be accepted?
Ideally, I wanted to add the syncrepl configuration in my slapd.conf and then convert it to cn=config; however, this doesn't appear to work with 2.4.21 because the slaptest added a uri="" to the olcSyncrepl attribute that running slapd complained of an invalid URL for olcSyncrepl. This is not an issue in 2.4.20.
Anyway, what's the right way for me to configure syncrepl on my 2.4.21 consumer server for both the config and hdb backends?
Thanks,
Hung.