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

Re: Replicating more than one database problem



See <http://www.openldap.org/faq/data/cache/1171.html> for directions.

p.


> Hi,
>
>   I have problem replicating more than one (two) databases. First
> database gets replicated but replication fails for the second one.
> .rej file does not give anything in ERROR: line!
>
> Here is configuration:
>
> Master:
>
> access to dn.subtree="ou=dainty,o=public"
> 	by dn.subtree="cn=Dainty,o=public" write
> 	by * read
>
> access to *
>   by * read
>
> allow	bind_v2
>
> #######################################################################
> # ldbm database definitions
> #######################################################################
>
> database	ldbm
> suffix		"o=mrrm"
> rootdn		"cn=MrrmManager,o=mrrm"
> rootpw		password
> directory	/var/lib/openldap/mrrm
> replica		uri=ldap://slave.mrrm.ca:389
> 		binddn="cn=MrrmManager,o=mrrm"
> 		bindmethod=simple credentials=password
> replogfile	/var/lib/openldap/replog
> schemacheck	on
> lastmod		on
> # Indices to maintain
> index	cn,sn,uid	pres,eq,approx,sub
> index	objectClass	eq
>
> database	ldbm
> suffix		"o=public"
> rootdn		"cn=PublicManager,o=public"
> rootpw		password
> directory	/var/lib/openldap/public
> replica		uri=ldap://slave.mrrm.ca:389
> 		binddn="cn=PublicManager, o=public"
> 		bindmethod=simple credentials=password
> replogfile	/var/lib/openldap/public.replog
> schemacheck	on
> lastmod		on
> # Indices to maintain
> index	cn,sn,uid	pres,eq,approx,sub
> index	objectClass	eq
>
> Slave:
>
> access to * by * read
>
> database	ldbm
> suffix		"o=mrrm"
> rootdn		"cn=MrrmManager,o=mrrm"
> rootpw		password
> directory	/var/lib/openldap/mrrm
> updatedn	"cn=MrrmManager,o=mrrm"
> updateref	ldap://master.mrrm.ca
> schemacheck	on
> lastmod		on
> # Indices to maintain
> index	cn,sn,uid	pres,eq,approx,sub
> index	objectClass	eq
>
>
> database	ldbm
> suffix		"o=public"
> rootdn		"cn=PublicManager,o=public"
> rootpw		password
> directory	/var/lib/openldap/public
> updatedn	"cn=PublicManager, o=public"
> updateref	ldap://master.mrrm.ca
> schemacheck	on
> lastmod		on
> # Indices to maintain
> index	cn,sn,uid	pres,eq,approx,sub
> index	objectClass	eq
> access to * by * read
>
> Please help!
> --
>
> Dragan Jurkovic <jurkd@mrrm.ca>
> MIS Manager
> MRRM (Canada) Inc.
> 2 Place Alexis Nihon, Suite 1777
> 3500 de Maisonneuve ouest
> Westmount, QC H3Z 3C1
> Tel: 514 908 7777 Ext. 1250
> Fax: 514 906 0220
> http://www.daintyrice.ca
>


-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497