LDAP - Synchronize New and Changed Users Job Fails With Generic Error
search cancel

LDAP - Synchronize New and Changed Users Job Fails With Generic Error

book

Article ID: 265681

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

Using either ports
port=389 (ldap)
port=636 (ldaps,security)

The job(LDAP - Synchronize New and Changed Users) fails with error in BG log:

ERROR 2023-04-28 12:49:46,830 [Dispatch LDAP - Synchronize New and Changed Users : bg@server (tenant=clarity)] niku.njs (clarity:admin:sessopm:LDAP - Synchronize New and Changed Users) Error executing job: 5291008
java.lang.Exception: Synchronize new and changed users job failed: com.niku.security.directory.DirectoryServiceException:
importUsers():Could not talk with the Directory Server.

Possible causes:
 1) Directory server is down,
 2) Machine where bgserver is running is not able to communicate with Directory server.
Contact your Directory server administrator.

   at com.niku.security.directory.LDAPAddModifySyncAgent.scheduledEventFired(LDAPAddModifySyncAgent.java:60)
   at com.niku.njs.Dispatcher$BGTask.run(Dispatcher.java:740)
   at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
   at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
   at java.base/java.lang.Thread.run(Thread.java:834)

Environment

Release : Any

Resolution

Review the CSA settings.

1.CSA > Application

Checkmark the following fields:
-Use LDAP
-Use Secure Session cookie
-Derive From Port Settings

NOTE: Choosing to use both http/https will not work for Jaspersoft reporting


2. CSA > Security

Review the field entry values if valid.

-LDAP Server
-LDAP Attribute Mapping

Additional Information

Enable LDAP Logging