OpenLDAP syncrepl Not Working

cancel
Showing results for 
Search instead for 
Did you mean: 
venugopal
Member II

OpenLDAP syncrepl Not Working

I have two openldap servers.i want to communicate between two servers by using openldap synchronisation in Linux and how to find out it is working or not .this is my code ,is it any problem in my code ,can any one help me.

Server 1 (ldap1 / "provider") slapd.conf:

database        bdb suffix          "dc=am5up,dc=com" directory       /var/lib/ldap checkpoint      1024 5 sizelimit       unlimited index objectClass                       eq,pres ... index entryCSN                          eq index entryUUID                         eq access to *           by self write           by dn="cn=admin,dc=am5up,dc=com" write           by * read rootdn          "cn=admin,dc=am5up,dc=com" rootpw          <hashed pwd> overlay unique unique_attributes mail ServerID        1 "ldap://ldap1" overlay syncprov syncprov-checkpoint     100 10

Server 2 (ldap2 / "consumer") slapd.conf:

database    bdb suffix      "dc=am5up,dc=com" directory   /var/lib/ldap checkpoint  1024 5 cachesize   10000 idlcachesize    10000 sizelimit   unlimited index objectClass                       eq,pres ... index entryCSN                          eq index entryUUID                         eq access to *           by self write           by dn="cn=admin,dc=am5up,dc=com" write           by * read rootdn      "cn=admin,dc=am5up,dc=com" rootpw      <hashed pwd> overlay unique unique_attributes mail ServerID        2 "ldap://ldap2" overlay syncprov syncprov-checkpoint     100 5 syncprov-sessionlog     100 syncrepl        rid=2                 provider="ldap://ldap1"                 type=refreshOnly                 retry="60 10 60 +"                 searchbase="dc=am5up,dc=com"                 attrs="*,+"                 bindmethod=simple                 binddn="cn=admin,dc=am5up,dc=com"                 credentials=<hashed pwd> MirrorMode      on


Any suggestions on what I have wrong for them to not sync?

Any suggestions are very much appreciated.

1 Reply
afaust
Master

Re: OpenLDAP syncrepl Not Working

I am not sure what this question has to do with Alfresco. You should direct this to the OpenLDAP mailing list / any forum centered around it.