<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><div style=""><font face="Verdana, Arial, Helvetica, sans-serif">I'm somewhat new myself but do either of these help? I know the schema gave me issues until I limited it.</font></div><div style=""><font face="Verdana, Arial, Helvetica, sans-serif"><br></font></div><div style=""><font face="Verdana, Arial, Helvetica, sans-serif"><a href="https://wiki.evolveum.com/display/midPoint/Active+Directory+with+LDAP+connector" target="_blank">https://wiki.evolveum.com/display/midPoint/Active+Directory+with+LDAP+connector</a><br></font></div><div style=""><font face="Verdana, Arial, Helvetica, sans-serif"><div>Full Active Directory Schema</div><div><br></div></font></div><div style=""><font face="Verdana, Arial, Helvetica, sans-serif"><br></font></div><div style=""><font face="Verdana, Arial, Helvetica, sans-serif"><a href="https://wiki.evolveum.com/pages/viewpage.action?pageId=22741393" target="_blank">https://wiki.evolveum.com/pages/viewpage.action?pageId=22741393</a></font><br></div><div style=""><font face="Verdana, Arial, Helvetica, sans-serif">ConnId Result Handlers</font></div><div style="font-family: Verdana, Arial, Helvetica, sans-serif;"><br></div><div style="font-family: Verdana, Arial, Helvetica, sans-serif;"><br></div><div style="font-family: Verdana, Arial, Helvetica, sans-serif;">Justin Stanczak</div><div style="font-family: Verdana, Arial, Helvetica, sans-serif;"><a href="mailto:rizenine@gmail.com" target="_blank">rizenine@gmail.com</a></div><a href="https://github.com/rizenine" target="_blank">https://github.com/rizenine</a><div><br><font color="#990099" style="font-family: Verdana, Arial, Helvetica, sans-serif;">-----"midPoint" <<a href="mailto:midpoint-bounces@lists.evolveum.com" target="_blank">midpoint-bounces@lists.evolveum.com</a>> wrote: -----</font><div class="iNotesHistory" style="font-family: Verdana, Arial, Helvetica, sans-serif; padding-left: 5px;"><div style="padding-right:0px;padding-left:5px;border-left:solid black 2px;">To: <a href="mailto:midpoint@lists.evolveum.com" target="_blank">midpoint@lists.evolveum.com</a><br>From: "Nicolas Bouillon" <nicolas@bouillon.net><br>Sent by: "midPoint" <midpoint-bounces@lists.evolveum.com><br>Date: 07/22/2019 05:18PM<br>Subject: [midPoint] Stackoverflow when configuring AdLdap connector<br><br><div><font face="Courier New,Courier,monospace" size="2">Hi,<br><br>I discovered Midpoint lately and I'm evaluating how it could suit the<br>need we have to control our users accesses.<br><br>Unfortunately, my experience is not getting starting so good, as I<br>have issue when configuring my first resource with the AdLdapConnector<br>(midpoint 3.9).<br>After a bit of struggle, I finally got the configuration below working.<br><br>The configuration tests correctly, but I think when midpoint try to<br>get the data, I get an error 500 on the GUI, and no way to go back to<br>resources list (error 500 again).<br>(I'm testing with embedded h2 database, so the only way I found to try<br>again is to delete the db file)<br><br>The stacktrace in midpoint.log is not very helpful<br><br>2019-07-22 22:51:44,511 [] [http-nio-8080-exec-10] ERROR<br>(com.evolveum.midpoint.web.util.MidPointProfilingServletFilter):<br>Encountered exception: javax.servlet.ServletException: Filter<br>execution threw an exception<br>javax.servlet.ServletException: Filter execution threw an exception<br> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)<br> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)<br> (...)<br>Caused by: java.lang.StackOverflowError: null<br> at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1495)<br> at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)<br> at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)<br> at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)<br> at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)<br> at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)<br> at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)<br> at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)<br><br>I'm new to midpoint, so please excuse me if something is obviously<br>wrong in the configuration I tried.<br><br>Thank you.<br><br>Nicolas.<br><br> <connectorConfiguration<br>xmlns:icfc="<a href="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3" target="_blank">http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3</a>"><br> <icfc:configurationProperties<br>xmlns:gen449="<a href="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.evolveum.polygon.connector-ldap/com.evolveum.polygon.connector.ldap.ad.AdLdapConnector" target="_blank">http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.evolveum.polygon.connector-ldap/com.evolveum.polygon.connector.ldap.ad.AdLdapConnector</a>"><br> <gen449:host>company.lan</gen449:host><br> <gen449:port>636</gen449:port><br> <gen449:connectionSecurity>ssl</gen449:connectionSecurity><br> <gen449:bindDn>CN=Service Account for LDAP<br>login,OU=Service Accounts,OU=Main,DC=company,DC=lan</gen449:bindDn><br> <gen449:bindPassword><br> <t:encryptedData><br> <t:encryptionMethod><br><br><t:algorithm><a href="http://www.w3.org/2001/04/xmlenc#aes128-cbc">http://www.w3.org/2001/04/xmlenc#aes128-cbc</a></t:algorithm><br> </t:encryptionMethod><br> <t:keyInfo><br> <t:keyName>removed</t:keyName><br> </t:keyInfo><br> <t:cipherData><br> <t:cipherValue>removed</t:cipherValue><br> </t:cipherData><br> </t:encryptedData><br> </gen449:bindPassword><br> <gen449:baseContext>OU=Main,DC=company,DC=lan</gen449:baseContext><br> <gen449:servers>10.200.0.10</gen449:servers><br> <gen449:servers>10.200.0.11</gen449:servers><br> <gen449:baseContextsToSynchronize>OU=Main,DC=company,DC=lan</gen449:baseContextsToSynchronize><br> <gen449:baseContextsToSynchronize>OU=Groups,DC=company,DC=lan</gen449:baseContextsToSynchronize><br> <gen449:objectClassesToSynchronize>user</gen449:objectClassesToSynchronize><br> <gen449:objectClassesToSynchronize>group</gen449:objectClassesToSynchronize><br> <gen449:attributesToSynchronize>cn</gen449:attributesToSynchronize><br> <gen449:attributesToSynchronize>distinguishedName</gen449:attributesToSynchronize><br> <gen449:attributesToSynchronize>name</gen449:attributesToSynchronize><br> <gen449:attributesToSynchronize>sAMAccountName</gen449:attributesToSynchronize><br> <gen449:attributesToSynchronize>member</gen449:attributesToSynchronize><br> <gen449:attributesToSynchronize>objectClass</gen449:attributesToSynchronize><br> <gen449:attributesToSynchronize>givenName</gen449:attributesToSynchronize><br> <gen449:attributesToSynchronize>displayName</gen449:attributesToSynchronize><br> <gen449:attributesToSynchronize>mail</gen449:attributesToSynchronize><br> <gen449:attributesToSynchronize>sn</gen449:attributesToSynchronize><br> <gen449:attributesToSynchronize>userPrincipalName</gen449:attributesToSynchronize><br> </icfc:configurationProperties><br> </connectorConfiguration><br>_______________________________________________<br>midPoint mailing list<br><a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br><a href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br></font></div></midpoint-bounces@lists.evolveum.com></nicolas@bouillon.net></div></div></div></font>