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

newbie's problem with replication of ldap



hello group,
i am trying to setup a replication server test bed for ldap where data can be propagated from one machine to another so that all people in the organization can see view the records. for this purpose i created two ldap servers running on 192.168.60.193, and 192.168.61.132 respectively. when ever an entry is added or modified in the organization unit 'Computer Science' i want that data to be updated in the master ldap server (o = virtualOffice)


rootdn of the master is o=virtualOffice
rootdn of the slave is ou=Computer Science,o=virtualOffice

when i try to update the slave i get the following message

# ldapadd -xv -D "cn=Manager,ou=Computer Science,o=virtualOffice" -W -f testldif.ldif -h 127.0.0.1

ldap_init( 127.0.0.1, 0 )
Enter LDAP Password:
add ou:
Computer Science
add objectClass:
top
organizationalUnit
add description:
Members of Computer Science
adding new entry "cn=Manager,ou=Computer Science,o=virtualOffice"
ldap_add: Referral
ldif_record() = 10


why is the referal not being displayed? what mistake did i do?
can anyone point me in the right direction?

Thanks in advance
gkgodava



**********slapd.conf file for master ldap server(192.168.60.193) is ********

# Sample Access Control
access to *
        by dn="cn=Manager,ou=Computer Science,o=virtualOffice" write
        by * read
access to *
        by dn="ou=Computer Science,o=virtualOffice" write
        by * read
access to *
        by dn="o=virtualOffice" write
        by * read

#######################################################################
# ldbm database definitions
#######################################################################

database ldbm
suffix "o=virtualOffice"
rootdn "o=virtualOffice"
rootpw secret
directory /var/lib/ldap/virtualCampus
# Indices to maintain
index cn,sn,st pres,eq,sub
replogfile /var/lib/ldap/replica/slurpd.replog
replica host=192.168.61.132:389
binddn="o=virtualOffice"
      bindmethod=simple
      credentials=secret

********slapd.conf file for slave(192.168.61.132) ldap server is ********

# Sample Access Control
access to *
by dn="cn=Manager,ou=Computer Science,o=virtualOffice" write
by * read
access to *
        by dn="ou=Computer Science,o=virtualOffice" write
        by * read
access to *
        by dn="o=virtualOffice" write
        by * read

#######################################################################
# ldbm database definitions
#######################################################################

database ldbm
suffix "ou=Computer Science,o=virtualOffice"
rootdn "cn=Manager,ou=Computer Science,o=virtualOffice"
rootpw secret
index cn,sn,st pres,eq,sub
updatedn "o=virtualOffice"
updateref uri=ldap://192.168.60.193:389/