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.
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.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.