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

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 LDAP Sync 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)

Environment

Release : 2.3

Component : LDAPSYNC

Cause

Defect.

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: LDAP Sync

LDAP Sync 2.3.5 - Available

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

Public description EN:
A problem was fixed with LDAP group handling: LDAP Sync failed if a group contained itself.

 

Additional Information

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

Please note that the fix for version 21.0 will be available with 21.0.4