search cancel

LDAP Sync aborts with Java exception.

book

Article ID: 243227

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

LDAP Sync cannot be excepted to sync users from AD to the Automation Engine. The following exception is shown:

[main] c.a.s.l.s.AESynchronizationStep          ERROR  java.lang.IllegalArgumentException: No enum constant com.uc4.api.objects.UserRight.Type.LOCA
java.lang.RuntimeException: java.lang.IllegalArgumentException: No enum constantcom.uc4.api.objects.UserRight.Type.LOCA

Cause

Wrong object type in Automation Engine database.

Environment

Release : 21.0.2

Component : LDAPSYNC

Resolution

Some user or user group objects contain the type LOCA. These entries need to be removed. This cannot be done through the AWI since opening these objects throws the following message:

Error during XRequest com.uc4.webui.communication.requests.OpenObjectAdapter

Export the user or user group object containing the type LOCA as xml and remove the line containing the entry, i.e.

<row AL="1|1 " B1="0" B2="0" B3="0" B4="0" B5="0" B6="0" B7="1" B8="1" B9="0" F1="LOCA" F2="*" F3="*" F4="*" F5="*" F6="*" F7="*" F8="*"/>

Once removed import the object and choose 'Replace existing object'. 

Additional Information

SQL statement to identify the affected user and user group objects:

select oh_name, oh_otype,oh_client, UACL.* from oh, uacl
where OH_Idnr = UACL_OH_Idnr
and OH_Deleteflag = 0
and UACL_Filter1 = 'LOCA'

Attachments