Hi all,
I'm trying to do a LDIF import (via Apache Directory Studio) after a replication issue. The goal is to correct a replication error.
The problem is that when I try to import the LDIF file, I'm receiving the following error :
#!ERROR [LDAP: error code 53 - shadow context; no update referral]
I found that is related to the replication, and probably the server is in read-only mode.
I also saw several solutions, as changing the olcMirrorMode to FALSE or even delete it from the slapd.conf file.
My problem is that I can't find the olcMirrorMod in my slapd.conf file, I just found it in the file \openldap\slapd-oldschema.d\cn=config\cn=schema.ldif.
Here is my slapd.conf file (without the comments):
include /usr/local/openldap/etc/openldap/schema/core.schema
include /usr/local/openldap/etc/openldap/schema/cosine.schema
include /usr/local/openldap/etc/openldap/schema/inetorgperson.schema
include /usr/local/openldap/etc/openldap/schema/nis.schema
pidfile /usr/local/openldap/var/run/slapd.pid
argsfile /usr/local/openldap/var/run/slapd.args
#######################################################################
# MDB database definitions
#######################################################################
database mdb
suffix "o=xxxxxxxxxx"
rootdn "cn=admin,ou=programmes,o=xxxxxxxxxxxxx"
rootpw secret
directory /custom/data/openldap-data
maxsize 5368709120
index objectClass eq
database monitor
database config
rootdn "cn=admin,cn=config"
rootpw secret
And here is the LDIF file that I'm trying to import:
version: 1
dn: xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
objectClass: top
objectClass: organizationalUnit
objectClass: organizationalentity
ou: xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
additionalmail: xxxxxxxxxxxxxx
businessCategory: xxxxxxxxxxxxxx
codecommune: xxxxxxx
codespecialite: xxxxxxxxxxxxxxx
codetypologie: xxxxxxxxxxx
cta: xxxxxxxxxxxxxxxxx
department: xxxxxxxxxxxxxxxxx
departmentNumber: xxxxxxxxxxxxx
destinationIndicator: xxxxxxxxxx
facsimileTelephoneNumber: xxxxxxxxxxxxxx
financialcode: xxxxxxxxxxxxxx
l: xxxxxxxxxxxxxxx
mail: xxxxxxxxxxxxxx
postalAddress: xxxxxxxxx
postalCode: xxxxxxxxxx
seeAlso: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Are these information correct ? Do you think I can try to log onto ApacheDS avec le compte root (cn=admin,cn=config / secret) to try the import ?
If not, is there anyway to see why my replication is not changing these particular entry?
Thanks in advance for all the help,
Marc