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

LDAP Replication <f1>



Hi,

Everyone I am mailing for the first time !

I have configured openldap-2.0.27 on my machine this is the slapd.conf

Slapd.conf
==========

loglevel    -1

include     /usr/local/etc/openldap/schema/core.schema
include     /usr/local/etc/openldap/schema/cosine.schema
include     /usr/local/etc/openldap/schema/inetorgperson.schema
include     /usr/local/etc/openldap/schema/nis.schema
schemacheck off

pidfile     /usr/local/var/slapd.pid
argsfile    /usr/local/var/slapd.args

database    ldbm
cachesize   0
suffix      "o=arjun,c=in"
directory   /usr/local/var/openldap-ldbm
rootdn      "cn=master,o=arjun,c=in"
rootpw      admin

index       objectClass eq
index       cn,sn,uid   pres,eq,sub
lastmod     on

replogfile  /usr/local/var/slapd.replog

replica     host=127.0.0.1:390
 	    binddn="cn=replica, o=arjun, c=in"
            bindmethod=simple
            credentials=admin


It works fine at standalone(127.0.0.1:389) I can do
add/del/search/modify but problem is with the
replication ..

This is my slapd_replica.conf

Slapd_replica.conf
==================

loglevel    -1
include     /usr/local/etc/openldap/schema/core.schema
include     /usr/local/etc/openldap/schema/cosine.schema
include     /usr/local/etc/openldap/schema/inetorgperson.schema
include     /usr/local/etc/openldap/schema/nis.schema

schemacheck off

pidfile     /usr/local/var/slapd_replica.pid
argsfile    /usr/local/var/slapd_replica.args

referral    "ldap://127.0.0.1:389/";

database    ldbm
cachesize   0
suffix      "o=arjun,c=in"
directory   /usr/local/var/openldap-slurp
rootdn      "cn=replica, o=arjun, c=in"
rootpw      admin
updatedn    "cn=replica, o=arjun, c=in"
updateref   "ldap://127.0.0.1:389";

index       objectClass eq
index       cn,sn,uid   pres,eq,sub

lastmod     on

I do run slave slapd at 127.0.0.1:390 and after starting slurpd I do
not get replication. What could be the reason I creates some file .rej but
could not copy entire database of ../openldap-ldbm (master database)


Please if anybody knows send me hint or solutions for this ..

Ok. Fine Have a nice TIME !

-**********************************************************************
-          Divyesh Amipara            |		   	   _^_
- developer & projects co-ordinator,  |  Feel the power of (X) with
- DeepRoot Linux, Bangalore. INDIA.   |  deepOfix - a server appliance
-	  +91 80 8565624              |       www.deeproot.co.in
-**********************************************************************