[Date Prev][Date Next] [Chronological] [Thread] [Top]

LDAP Master/Slave replication



Hello,

Do you think the version of ldap must be equal ?
I use openldap-2.3.27-8 on server and openldap-2.2.23-5 on client.
Do you think it is syncrepl compatible ?

thanks,
Alain




I don't found the solution... do you know a french document for installation of "syncrpl" ?

I tried english documentation :
http://www.openldap.org/doc/admin22/syncrepl.html
but no success...


thanks, Alain




The log :

Feb  5 13:11:37 dev5 slapd[2523]: =>do_syncrepl
Feb  5 13:11:37 dev5 slapd[2523]: => bdb_entry_get: ndn:
"cn=syncrepl123,dc=myDomain,dc=com"
Feb  5 13:11:37 dev5 slapd[2523]: => bdb_entry_get: oc: "(null)", at:
"syncreplCookie"
Feb  5 13:11:37 dev5 slapd[2523]:
bdb_dn2entry("cn=syncrepl123,dc=myDomain,dc=com")
Feb  5 13:11:37 dev5 slapd[2523]: => bdb_dn2id( "dc=myDomain,dc=com" )
Feb  5 13:11:37 dev5 slapd[2523]: <= bdb_dn2id: get failed: DB_NOTFOUND:
No matching key/data pair found (-30989)
Feb  5 13:11:37 dev5 slapd[2523]: => bdb_entry_get: cannot find entry:
"cn=syncrepl123,dc=myDomain,dc=com"
Feb  5 13:11:37 dev5 slapd[2523]: =>do_syncrep2


thanks for you help ! Alain


Hello,

I use the bottom file "slapd.conf" to mirror master server.
It was ok with 2.2.23-5 version of openldap.

I just installed a new version of openldap : 2.3.27-8
Now the slave server start ok... but slapcat is empty !!??

Do you have an idea ?
Thanks a lot,
Alain

slapd.conf
_________
include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/inetorgperson.schema
include         /etc/openldap/schema/nis.schema

allow bind_v2

pidfile         /var/run/slapd.pid
argsfile        /var/run/slapd.args

loglevel        256

database        bdb
suffix          "dc=myDomain,dc=com"
rootdn          "cn=Manager,dc=myDomain,dc=com"
rootpw          {SSHA}wuapktMrH50PDG29WoffJcmvpblebsdT

directory       /var/lib/ldap/myDomain.com

index objectClass                       eq,pres
index ou,cn,mail,surname,givenname      eq,pres,sub
index uidNumber,gidNumber,loginShell    eq,pres
index uid,memberUid                     eq,pres,sub
index nisMapName,nisMapEntry            eq,pres,sub
index entryUUID                         eq

access to *
       by * read

syncrepl rid=123
       provider=ldap://10.0.0.242:389
       type=refreshOnly
       interval=00:00:01:00
       searchbase="dc=myDomain,dc=com"
       filter="(objectclass=*)"
       attrs="*"
       scope=sub
       bindmethod=simple
       binddn="cn=Manager,dc=myDomain,dc=com"
       credentials="myPassword"





---
Antivirus avast! : message Entrant sain.
Base de donnees virale (VPS) : 080204-0, 04/02/2008
Analyse le : 05/02/2008 19:55:34
avast! - copyright (c) 1988-2008 ALWIL Software.
http://www.avast.com





---
Antivirus avast! : message Sortant sain.
Base de donnees virale (VPS) : 080204-0, 04/02/2008
Analyse le : 05/02/2008 20:03:01
avast! - copyright (c) 1988-2008 ALWIL Software.
http://www.avast.com