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 |
From man slapd.conf..
Code:
replica uri=ldap[s]://<hostname>[:port]|host=<hostname>[:port] |
Hi,
Pls make sure that ur slapd.conf file contain replica directive like this only. replogfile /var/lib/ldap/openldap-master-replog replica uri=ldaps://10.6.14.255 binddn="cn=root,dc=example,dc=com" tls=hard bindmethod=simple credentials=secret Hope it will work !!!! Regards: Jitender Rajpal |
All times are GMT -5. The time now is 03:29 AM. |