Guys,
help / tulong / ayuda me. Where did I go wrong?
Jarris, I have said before
ON MASTER:
slapd and slurpd daemons are running

Jarris Ruiz writes:
is slurpd running on the master server?
On 4/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:

Hi Guru's
I've been tweaking my slapd server for replication over a week now. But
its
NOT replicating. Perhaps you could help me find the solution. Below are my config files:
MASTER SLAPD SERVER:
===================
include         /etc/ldap/openldap/schema/core.schema
include         /etc/ldap/openldap/schema/cosine.schema
include         /etc/ldap/openldap/schema/inetorgperson.schema
pidfile         /usr/local/var/run/slapd.pid
argsfile        /usr/local/var/run/slapd.args
loglevel      256
access to attr=userPassword
           by self write
           by anonymous auth
           by dn.base="cn=Manager,dc=mydomain,dc=com" write
           by * none
access to *
           by self write
           by dn.base="cn=Manager,dc=mydomain,dc=com" write
by * read

database        bdb
replogfile      /usr/local/var/openldap-slurp/slapd.replog
replica         uri=ldap://192.168.0.34:389  bindmethod=simple
               binddn=cn=replica,dc=mydomain,dc=com  credentials=secret
suffix          "dc=mydomain,dc=com"
rootdn          "cn=Manager,dc=mydomain,dc=com"
#rootpw         secret
rootpw          {SSHA}xnV+DvQSVBmkS0JehFH2aUVD56iQqJg0
directory       /usr/local/var/openldap-data
index   objectClass     eq
index cn                     pres,sub,eq
index sn                     pres,sub,eq
index uid                    pres,sub,eq
index displayName            pres,sub,eq
index uidNumber              eq
index gidNumber              eq
index default sub
ON MASTER:
slapd and slurpd daemons are running
SLAVE SLAPD SERVER:
===================
include         /etc/ldap/openldap/schema/core.schema
include         /etc/ldap/openldap/schema/cosine.schema
include         /etc/ldap/openldap/schema/inetorgperson.schema
pidfile         /usr/local/var/run/slapd.pid
argsfile /usr/local/var/run/slapd.args loglevel 256
database        bdb
suffix          "dc=mydomain,dc=com"
rootdn          "cn=replica,dc=mydomain,dc=com"
rootpw          secret
access to * by dn="cn=replica,dc=mydomain,dc=com" write
updatedn        "cn=replica,dc=mydomain,dc=com"
updateref       ldap://192.168.0.33
directory       /usr/local/var/openldap-data
index   objectClass     eq
index cn                     pres,sub,eq
index sn                     pres,sub,eq
index uid                    pres,sub,eq
index displayName            pres,sub,eq
index uidNumber              eq
index gidNumber              eq
index default sub
ON SLAVE:
I copied from the master all ldif file, then start the slapd.
PROBLEM:
When I add a entry using phpldapadmin on my master server, it doesn't
replicate on my slave server. My master and slave servers are running
smoothly when run independently. My only problem is the replication. Is
there anything I missed above? I got my openldap from source. Thank you for helping.
Regards,
Iris Lames
Brainbench Transcript no: 4387542
Linux user: 298456
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph



Regards,
Iris Lames
Brainbench Transcript no: 4387542
Linux user: 298456 _________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to