<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hello<br></div><div><br data-mce-bogus="1"></div><div>I have no idea why this happens, just looking at the message, it seems to come from <strong>java.util.Base64.decode(...)</strong> call, it is in the code and probably some Base64 encoded string is not correct.<br data-mce-bogus="1"></div><div>It always helps if you can provide also a stacktrace, part of the log or something. If it's easy to answer without it, it doesn't hurt. Here, I have no idea where the call originates from.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Regards<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Richard Richter<br data-mce-bogus="1"></div><div>midPoint developer</div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"midPoint General Discussion" <midpoint@lists.evolveum.com><br><b>To: </b>"midPoint General Discussion" <midpoint@lists.evolveum.com><br><b>Cc: </b>"Gus Lou" <gugalou38@gmail.com><br><b>Sent: </b>Friday, December 11, 2020 11:44:56 PM<br><b>Subject: </b>[midPoint] Synchronization Trouble - Active Directory to MP<br></div><div><br></div><div data-marker="__QUOTED_TEXT__"><div dir="ltr"><div dir="ltr"><div>Hi Guys</div><br><div>I need to import groups, users and users and their existing access into Active Directory to Midpoint (MP version 4.2, ADLdapConector 3.1)</div><br><div>To achieve this goal, I did the following:</div><br><div>1-I imported the active directory resource template from the address below:</div><div><a href="https://github.com/Evolveum/midpoint-samples/blob/master/samples/resources/ad-ldap/ad-ldap-medusa-medium.xml" target="_blank" rel="nofollow noopener noreferrer">https://github.com/Evolveum/midpoint-samples/blob/master/samples/resources/ad-ldap/ad-ldap-medusa-medium.xml</a><br data-mce-bogus="1"></div><br><div>2-I created two synchronization tasks, one for users and one for groups.</div><br><div>When I run the synchronization tasks, I get the following error:</div><br><div><b>Unspecified error: Got unexpected exception: java.lang.IllegalArgumentException: Last unit does not have enough valid bits</b></div><br><div>I have already checked the required permissions following the guidelines in the link below:</div><div><a href="https://wiki.evolveum.com/display/midPoint/Active+Directory+with+LDAP+connector" target="_blank" rel="nofollow noopener noreferrer">https://wiki.evolveum.com/display/midPoint/Active+Directory+with+LDAP+connector</a><br data-mce-bogus="1"></div><br><br><div>Does anyone have any ideas to resolve or any other documentation that I can review.?</div><br></div></div>
<br>_______________________________________________<br>midPoint mailing list<br>midPoint@lists.evolveum.com<br>https://lists.evolveum.com/mailman/listinfo/midpoint<br></div></div></body></html>