I tried to integrate ambari with ldap and it working fine previously. But suddenly it started giving error -
ambari-server sync-ldap --all Using python /usr/bin/python2 Syncing with LDAP... Enter Ambari Admin login: admin Enter Ambari Admin password: Syncing all...ERROR: Exiting with exit code 1. REASON: Caught exception running LDAP sync. [LDAP: error code 2 - paged results cookie is invalid]; nested exception is javax.naming.CommunicationException: [LDAP: error code 2 - paged results cookie is invalid]; remaining name 'dc=test,dc=datametica,dc=com'
authentication.ldap.pagination.enabled property to false in the
/etc/ambari-server/conf/ambari-properties file to disable result paging controls. See my response on the other question that you asked about LDAP synching. This step was necessary and missed in the other thread response you applied.