View previous topic :: View next topic |
Author |
Message |
nash11 n00b
Joined: 30 May 2006 Posts: 26 Location: hk
|
Posted: Sun Aug 06, 2006 10:12 am Post subject: Openldap replication |
|
|
I am trying to follow the admin guide to configure the openldap replication , I run the /usr/bin/slurpd , then it pop the message " Error: Malformed "replica" line in slapd config file, line 72 , Warning: failed to add replica "resues2.com:389 - ignoring replica " , I sure the server resues.com is reachable , can anyone advise what is possible reason for the error ? thx
my slapd.conf
replogfile /var/lib/ldap/master-slapd.replog
database ldbm
suffix "dc=resues1,dc=com"
rootdn "cn=Manager,dc=resues1,dc=com"
rootpw secret
rootpw {SSHA}UKfX5uzttkfXd9nMEFWl3l9BfdafOjsV8TQKv
directory /var/lib/ldap/resues1.com
replica host=resues2:389
index objectClass,uid,uidNumber,gidNumber,memberUid eq
index cn,mail,surname,givenname eq
binddn="cn=replicator,dc=resues1,dc=com"
bindmethod=simple credentials=password |
|
Back to top |
|
|
slam_head Guru
Joined: 06 Jan 2003 Posts: 449 Location: New York City
|
Posted: Tue Aug 08, 2006 9:30 pm Post subject: |
|
|
You need to clean up your file a little bit. Remember order and white space are import in the slapd.conf:
Code: |
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
database ldbm
suffix "dc=resues1,dc=com"
rootdn "cn=Manager,dc=resues1,dc=com"
rootpw {SSHA}UKfX5uzttkfXd9nMEFWl3l9BfdafOjsV8TQKv
directory /var/lib/ldap/resues1.com
index objectClass,uid,uidNumber,gidNumber,memberUid eq
index cn,mail,surname,givenname eq
replica uri=ldap://resues2:389
binddn="cn=replicator,dc=resues1,dc=com"
bindmethod=simple credentials="yourpassword"
|
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|