<html><body><div><span style="color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px">Hi All, </span></div><div style="color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px"><span style="color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px"><br></span></div><div style="color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px"><span style="color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px">I have another question for setup. </span><span style="background-color:transparent">I have two sources CSV and AD LDAP. </span></div><div style="color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px"><span style="background-color:transparent">I am creating users from CSV in MidPoint and then I am matching it with existing accounts in AD.</span><br></div><div style="color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px"><span style="background-color:transparent">Currently i am expiriencing problem with case sensitivity in correlation rule.</span><br></div><div style="color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px"><br></div><div style="color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px">Template user (generating username)</div><div style="color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px"><br></div><div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <mapping></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <source></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <c:path>$user/givenName</c:path></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> </source></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <source></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <c:path>$user/familyName</c:path></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> </source></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <expression></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <script xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"</span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> xsi:type="c:ScriptExpressionEvaluatorType"></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <code>(givenName == null ? '' : givenName) + ' ' + (familyName == null ? '' : familyName)</code></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> </script></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> </expression></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <target></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <c:path>fullName</c:path></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> </target></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> </mapping></span></font></div></div><div style="color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px"><br></div><div style="color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px">Attirbute sAMAccountName in AD-LDAP</div><div style="color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px"><br></div><div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"><attribute></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <c:ref>ri:sAMAccountName</c:ref></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <displayName>Login name</displayName></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <matchingRule xmlns:gen68="http://prism.evolveum.com/xml/ns/public/matching-rule-3">gen68:stringIgnoreCase</matchingRule></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <tolerant>true</tolerant></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <exclusiveStrong>false</exclusiveStrong></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <outbound></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <authoritative>false</authoritative></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <exclusive>false</exclusive></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <strength>normal</strength></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <source></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <c:path>$user/name</c:path></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> </source></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> </outbound></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <inbound></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <authoritative>true</authoritative></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <exclusive>false</exclusive></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <strength>normal</strength></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <target></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> <c:path>$focus/name</c:path></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> </target></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> </inbound></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"> </attribute></span></font></div></div><div style="color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px"><span style="color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px"><br></span></div><div style="color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px"><span style="color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px">Sync of accounts:</span></div><div style="color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px"><span style="color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px"><br></span></div><div style="color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px"><span style="color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px"><div> <synchronization></div><div> <objectSynchronization></div><div> <name>Account sync</name></div><div> <objectClass>ri:user</objectClass></div><div> <kind>account</kind></div><div> <intent>default</intent></div><div> <enabled>true</enabled></div><div> <correlation></div><div> <q:equal></div><div> <q:matching><span style="font-family:monospace">polyStringNorm</span></q:matching></div><div> <q:path>c:name</q:path></div><div> <expression xmlns=""></div><div> <path>$shadow/attributes/sAMAccountName</path></div><div> </expression></div><div> </q:equal></div><div> </correlation></div><div> <reconcile>false</reconcile></div><div> <reaction></div><div> <situation>linked</situation></div><div> <synchronize>true</synchronize></div><div> </reaction></div><div> <reaction></div><div> <situation>deleted</situation></div><div> <action ref="http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlink"/></div><div> </reaction></div><div> <reaction></div><div> <situation>unlinked</situation></div><div> <action ref="http://midpoint.evolveum.com/xml/ns/public/model/action-3#link"/></div><div> </reaction></div><div> <reaction></div><div> <situation>unmatched</situation></div><div> <action ref="http://midpoint.evolveum.com/xml/ns/public/model/action-3#addFocus"/></div><div> </reaction></div><div> </objectSynchronization></div><div><br></div><div>For some users I am getting following error: </div></span></div><div style="color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px"><span style="color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px"><br></span></div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px">SystemException: Schema violation during processing shadow: shadow: CN=Gilbert Stephens,OU=Users,OU=CZ,DC=HELL,DC=LOCAL (OID:afefb716-7cab-4d0f-bd5e-c74bf0e868df): Schema violation: Value of attribute '__NAME__' must be a single value, but it has 0values: Schema violation during processing shadow: shadow: CN=Gilbert Stephens,OU=Users,OU=CZ,DC=HELL,DC=LOCAL (OID:afefb716-7cab-4d0f-bd5e-c74bf0e868df): Schema violation: Value of attribute '__NAME__' must be a single value, but it has 0values: Schema violation during processing shadow: shadow: CN=Gilbert Stephens,OU=Users,OU=CZ,DC=HELL,DC=LOCAL (OID:afefb716-7cab-4d0f-bd5e-c74bf0e868df): Schema violation: Value of attribute '__NAME__' must be a single value, but it has 0values: Schema violation during processing shadow: shadow: CN=Gilbert Stephens,OU=Users,OU=CZ,DC=HELL,DC=LOCAL (OID:afefb716-7cab-4d0f-bd5e-c74bf0e868df): Schema violation: Value of attribute '__NAME__' must be a single value, but it has 0values</span></font><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px">It can be easily solved by changing samaccountname in AD from "gilbert.stephens" to "Gilbert.Stephens".</span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px">How hadle that? how to prevent to that behaviour?</span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#333333" face="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px">Thanks Jan</span></font></div><div><br></div></body></html>