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

Getting Replication to work



Hi, I am currently trying to follow all the online information I have
found but cannot get replication to work. The Master server is creating
replication log files correctly but the slave is not making any changes
what so ever and I don't know what I'm doing wrong

Master 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
include		/etc/openldap/schema/samba.schema
include		/etc/openldap/schema/redhat/autofs.schema
include		/etc/openldap/schema/redhat/rfc822-MailMember.schema


allow bind_v2

allow bind_anon_dn


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

defaultaccess read

access to attrs=userPassword
	by dn="cn=manager,dc=fmrif,dc=nimh,dc=nih,dc=gov" write
	by self write
	by anonymous auth
	by * none
access to *
        by self write
        by * read
#       by anonymous auth
        by dn="cn=manager,dc=fmrif,dc=nimh,dc=nih,dc=gov"


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

database	ldbm
suffix		"dc=fmrif,dc=nimh,dc=nih,dc=gov"
rootdn		"cn=manager,dc=fmrif,dc=nimh,dc=nih,dc=gov"
rootpw		secret
# rootpw		{crypt}ijFYNcSNctBYg

directory	/var/lib/ldap

index   default                                         eq
index   objectClass,uid,uidNumber,gidNumber,memberUid   eq
index   cn,mail,surname,givenname                       eq,sub



loglevel -1 

replogfile /var/lib/ldap/replogfile
replica host=128.231.213.150:389
        binddn="uid=Replicator,ou=People,dc=fmrif,dc=nimh,dc=nih,dc=gov"
        bindmethod=simple credentials=scan4fun





--------------------------------------

Slave slapd.con
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/samba.schema
include		/etc/openldap/schema/redhat/autofs.schema
include		/etc/openldap/schema/redhat/rfc822-MailMember.schema

allow bind_v2

allow bind_anon_dn


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

defaultaccess read

access to attrs=userPassword
	by dn="uid=Replicator,ou=People,dc=fmrif,dc=nimh,dc=nih,dc=gov" write
	by self write
	by anonymous auth
	by * none
access to *
        by self write
        by * read
	by * write
#       by anonymous auth
#	by dn="cn=manager,dc=fmrif,dc=nimh,dc=nih,dc=gov" 
	by dn="uid=Replicator,ou=People,dc=fmrif,dc=nimh,dc=nih,dc=gov" write
#######################################################################
# ldbm and/or bdb database definitions
#######################################################################

database	ldbm
suffix		"dc=fmrif,dc=nimh,dc=nih,dc=gov"
rootdn		"cn=Manager,dc=fmrif,dc=nimh,dc=nih,dc=gov"
rootpw		secret
# rootpw		{crypt}ijFYNcSNctBYg

directory	/var/lib/ldap


index   default                                         eq
index   objectClass,uid,uidNumber,gidNumber,memberUid   eq
index   cn,mail,surname,givenname                       eq,sub


updatedn "uid=Replicator,ou=People,dc=fmrif,dc=nimh,dc=nih,dc=gov"
updateref ldap:\\128.231.213.127


does this give any indication of something being wrong?
-- 
Jon West (contractor)             westjo@mail.nih.gov
Unit on Functional Imaging Methods, NIMH/NIH
10 Center Dr, Room B1D708A
Bethesda MD. 20892-1148
Phone:301-435-8396    Fax:  301-402-1370