ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

LDAP Sync is looping and does not come to an end.

book

Article ID: 239325

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Synchronizing LDAP users with LDAPSync is looping and has to canceled manually.

Exception in thread "main" java.lang.StackOverflowError
	at java.util.regex.Pattern$BmpCharProperty.match(Unknown Source)
	at java.util.regex.Pattern$GroupHead.match(Unknown Source)
	at java.util.regex.Pattern$Branch.match(Unknown Source)
	at java.util.regex.Pattern$Branch.match(Unknown Source)
	at java.util.regex.Pattern$Branch.match(Unknown Source)
	at java.util.regex.Pattern$BranchConn.match(Unknown Source)
	at java.util.regex.Pattern$GroupTail.match(Unknown Source)
	at java.util.regex.Pattern$Curly.match0(Unknown Source)
	at java.util.regex.Pattern$Curly.match(Unknown Source)
	at java.util.regex.Pattern$GroupHead.match(Unknown Source)
	at java.util.regex.Pattern$Branch.match(Unknown Source)
	at java.util.regex.Pattern$Branch.match(Unknown Source)
	at java.util.regex.Pattern$BmpCharProperty.match(Unknown Source)
	at java.util.regex.Pattern$Start.match(Unknown Source)
	at java.util.regex.Matcher.search(Unknown Source)
	at java.util.regex.Matcher.find(Unknown Source)
	at java.util.Formatter.parse(Unknown Source)
	at java.util.Formatter.format(Unknown Source)
	at java.util.Formatter.format(Unknown Source)
	at java.lang.String.format(Unknown Source)
	at com.automic.sara.ldapsync.ldap.LDAPService.buildGroupSearchFilter(LDAPService.java:467)
	at com.automic.sara.ldapsync.ldap.LDAPService.getGroupMembers(LDAPService.java:304)
	at com.automic.sara.ldapsync.ldap.LDAPService.getGroupMembers(LDAPService.java:365)
	at com.automic.sara.ldapsync.ldap.LDAPService.fetchLDAPUsers(LDAPService.java:265)
	at com.automic.sara.ldapsync.ldap.LDAPService.fetchLDAPUsers(LDAPService.java:292)

Cause

Defect.

Environment

Release : 2.3

Component : LDAPSYNC

Resolution

Update to a fix version listed below or a newer version if available.

Article title: How to register to Broadcom Software Product updates and Critical Alerts

https://knowledge.broadcom.com/external/article?articleId=133819

Component: LDAPSync

LDAPSync 2.3.5 - TBA

Public short description EN:
LDAPSync fails when LDAP-group is a member of itself

Workaround:
Avoid to include a LDAP-group as a member of itself