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

syncrepl, database is not complete...



Hello,

My problem :
I would like to have a replication server and i don't understand why all data are not copied to the replication server,
i use rootdn to do sync...i should be able to copy all data...it start to copy but don't copy all data...

LDAP version :
Source and copy are the same server : openldap-2.3.27-8

see below for configuration files,

thks for your help !
Alain








Source server :

include        /etc/openldap/schema/core.schema
include        /etc/openldap/schema/cosine.schema
include        /etc/openldap/schema/inetorgperson.schema
include        /etc/openldap/schema/nis.schema
include         /etc/openldap/schema/rfc822-MailMember.schema
include        /etc/openldap/schema/gosa/gofon.schema
include         /etc/openldap/schema/gosa/samba3.schema
include     /etc/openldap/schema/gosa/pureftpd.schema
include        /etc/openldap/schema/gosa/gohard.schema
include     /etc/openldap/schema/gosa/goto.schema
include         /etc/openldap/schema/gosa/gosa+samba3.schema
include        /etc/openldap/schema/gosa/gofax.schema
include        /etc/openldap/schema/gosa/goserver.schema
include         /etc/openldap/schema/sfe.schema

loglevel    256
password-hash {CRYPT}

allow bind_v2


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


access to *
    by * read

database    bdb
suffix dc=domain,dc=com
rootdn cn=Manager,dc=domain,dc=com
rootpw {SSHA}Lcrkf43J0AU3rXGtMRk5iHAMXHuweL4R

directory    /var/lib/ldap/domain.com

# Indices to maintain for this database
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

# Pour la replication avec syncrepl
overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100
sessionlog 123 500


====================================================================

Destination server :

include        /etc/openldap/schema/core.schema
include        /etc/openldap/schema/cosine.schema
include        /etc/openldap/schema/inetorgperson.schema
include        /etc/openldap/schema/nis.schema

loglevel 256
schemacheck off

allow bind_v2

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

#######################################################################
# ldbm and/or bdb database definitions
#######################################################################

database    bdb
suffix        "dc=domain,dc=com"
rootdn        "cn=Manager,dc=domain,dc=com"
rootpw {SSHA}Lcrkf43J0AU3rXGtMRk5iHAMXHuweL4R

directory    /var/lib/ldap/domain.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

access to *
        by * read

syncrepl rid=123
        provider=ldap://10.0.0.242:389
        type=refreshOnly
        interval=00:00:05:00
        searchbase="dc=domain,dc=com"
        filter="(objectclass=*)"
        attrs="*"
        scope=sub
        schemachecking=off
    updatedn="cn=Manager,dc=domain,dc=com"
        bindmethod=simple
        binddn="cn=Manager,dc=domain,dc=com"
        credentials=xxxx












Antivirus avast!: message Sortant sain.

Base de donnees virale (VPS) : 080216-0, 16/02/2008
Analyse le : 17/02/2008 13:54:14
avast! - copyright (c) 1988-2008 ALWIL Software.