07-09-2017 10:48 AM
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.
07-10-2017 03:12 PM
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.
Explore our Alfresco products with the links below. Use labels to filter content by product module.