Member
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855
Rep:
|
OpenLDAP Replication Master\Slave
hi there,
i'm trying to get OpenLDAP Replication working between two servers the information about current openldap setup of the network is as follows
Master = fedora.directory.server
base = dc=fedora,dc=directory,dc=server
slave
Slave = rhel.directory.server
base = dc=fedora,dc=directory,dc=server
master
can someone please help me out, what am i doing wrong? what do i need? i'm almost sure it's the slave configuration, does anyone have any configuration files that they have already setup?
Master /etc/openldap/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=fedora,dc=directory,dc=server"
rootdn "cn=Manager,dc=fedora,dc=directory,dc=server"
rootpw {SSHA}diiNsDR8wERa2urlW2dRR2X6EuDmEQCs
directory /var/lib/ldap
index objectClass eq,pres
index ou,cn,mail,surname,givenname eq,pres,sub
index uidNumber,gidNumber,loginShell eq,pres
index uid,memberUid eq,pres,sub
index nisMapName,nisMapEntry eq,pres,sub
replica host=rhel.directory.server
binddn="cn=Manager,dc=fedora,dc=directory,dc=server"
bindmethod=simple
credentials=password
replogfile /var/log/replog
Slave /etc/openldap/ldap.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=fedora,dc=directory,dc=server"
rootdn "cn=Manager,dc=fedora,dc=directory,dc=server"
rootpw {SSHA}6+SLcOSV7FjxVusCmOd/daP7cys6ERaV
directory /var/lib/ldap
index objectClass eq,pres
index ou,cn,mail,surname,givenname eq,pres,sub
index uidNumber,gidNumber,loginShell eq,pres
index uid,memberUid eq,pres,sub
index nisMapName,nisMapEntry eq,pres,sub
updatedn "cn=Manager,dc=fedora,dc=directory,dc=server"
updateref fedora.directory.server
|