[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
replication trouble
I am still trying to find out how to replicate my data. I am very, very
new to LDAP and not sure if I am doing this right or not. I did manage
to get my main ldap/samba server set up and it seems to be running. I
am trying to get it to replicate to my slave/BDC server now, but cannot
get it going. If I comment out the UPDATEREF line in the slaves
slapd.conf file then I can start up ldap 'service ldap start' otherwise,
if I leave it in, then it Fails to start. Here are my config files. My
main LDAP server is bes-serve (192.168.0.1) and the slave will be
bms-serve (192.168.0.2). I have not really setup any security or
anything yet, since this is just a test to see if I can get it up and going.
*****MAIN CONFIGURATION*******
*** BES-SERVE LDAP.CONF ***
HOST 127.0.0.1
BASE dc=bes-serve,dc=bloomfield.k12.mo.us
*** BES-SERVE 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
allow bind_v2
pidfile /var/run/slapd.pid
argsfile /var/run/slapd.args
database bdb
suffix "dc=bes-serve,dc=bloomfield.k12.mo.us"
rootdn "cn=Manager,dc=bes-serve,dc=bloomfield.k12.mo.us"
rootpw passwd
directory /var/lib/ldap
index objectClass eq
index cn eq,pres,sub
index sn eq,pres,sub
index uid eq,pres,sub
index displayName eq,pres,sub
index uidNumber eq
index gidNumber eq
index memberUid eq
index sambaSID eq
index sambaPrimaryGroupSID eq
index sambaDomainName eq
index default sub
replogfile /var/lib/ldap/replog
replica host=bms-serve.bloomfield.k12.mo.us:389
suffix="dc=bes-serve,dc=bloomfield.k12.mo.us"
binddn="cn=replica,dc=bms-serve,bloomfield.k12.mo.us"
bindmethod=simple
credentials='passwd'
tls=no
*****SLAVE CONFIGURATION*****
*** BMS-SERVE LDAP.CONF ***
HOST 192.168.0.1
BASE dc=bes-serve,dc=bloomfield.k12.mo.us
*** BMS-SERVE 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
allow bind_v2
pidfile /var/run/slapd.pid
argsfile /var/run/slapd.args
database bdb
suffix "dc=bes-serve,dc=bloomfield.k12.mo.us"
rootdn "cn=replica,dc=bes-serve,dc=bloomfield.k12.mo.us"
rootpw passwd
updateref "ldap://bes-serve.bloomfield.k12.mo.us:389"
updatedn "cn=replica, dc=bms-serve, dc=bloomfield.k12.mo.us"
directory /var/lib/ldap
index objectClass eq
index cn eq,pres,sub
index sn eq,pres,sub
index uid eq,pres,sub
index displayName eq,pres,sub
index uidNumber eq
index gidNumber eq
index memberUid eq
index sambaSID eq
index sambaPrimaryGroupSID eq
index sambaDomainName eq
index default sub
Thanks for any help that can be offered.
--
Scott Mayo
Technology Coordinator
Bloomfield Schools
PH: 573-568-5669
FA: 573-568-4565
Pager: 800-264-2535 X2549
Duct tape is like the force, it has a light side and a dark side and it
holds the universe together.