<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>hi,</p>
<p>i have in a LDAP an attribute "sambaPwdLastSet" with the value "1363792363240".<br>
</p>
<p>Midpoint crashed on reading it:<br>
</p>
<p>ERROR ConnId Exception java.lang.NumberFormatException in
connector:9cb79691-944b-40cf-a95c-6f053d4920db(ConnId
com.evolveum.polygon.connector.ldap.LdapConnector v3.0):
ConnectorSpec(<a class="moz-txt-link-freetext" href="resource:u75-connecteur-LDAP-U75proxyP7(LDAP">resource:u75-connecteur-LDAP-U75proxyP7(LDAP</a> proxy
P7), name=null, oid=9cb79691-944b-40cf-a95c-6f053d4920db): For
input string: "1363792363240" java.lang.NumberFormatException: For
input string: "1363792363240<br>
</p>
<p>And midpoint stop reading any other LDAP accounts (and this
account is in the first one)<br>
</p>
<p>The definition of sambaPwdLastSet is:<br>
</p>
<p>attributeTypes: ( 1.3.6.1.4.1.7165.2.1.27 NAME 'sambaPwdLastSet'
DESC 'Timestamp of the last password update' EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE X-SCHEMA-FILE
'05-samba.ldif' )</p>
<p>1.3.6.1.4.1.1466.115.121.1.27 => it's an integer.<br>
<br>
1363792363240 is too big a java integer... but a valid integer
(maybe a java type long).<br>
</p>
<p>Then I try that :</p>
<p><i> <attribute></i><i><br>
</i><i> <ref>ri:sambaPwdLastSet</ref></i><i><br>
</i><i> <limitations></i><i><br>
</i><i> <access></i><i><br>
</i><i> <read>false</read></i><i><br>
</i><i> <add>false</add></i><i><br>
</i><i> <modify>false</modify></i><i><br>
</i><i> </access></i><i><br>
</i><i> </limitations></i><i><br>
</i><i> </attribute></i><i><br>
</i><br>
</p>
<p>but with no effect :(</p>
<p>I must let the the schema loading like that :</p>
<i> <schema></i><br>
<i> <generationConstraints></i><br>
<i> ...</i><br>
<i>
<generateObjectClass>ri:sambaSamAccount</generateObjectClass></i><br>
<i> ...</i><br>
<i> </generationConstraints></i><br>
<i> </schema></i>
<p>because without midpoint shout.</p>
<p>And I didn't have "<i>sambaSamAccount"</i> class in any
"auxiliaryObjectClass"<br>
</p>
<p>I read a similar problem in <a
href="https://lists.evolveum.com/pipermail/midpoint/2018-February/004493.html">https://lists.evolveum.com/pipermail/midpoint/2018-February/004493.html</a>...
and it seems to be a problem in other attributes<br>
</p>
<p><b>QUESTION : how can I avoid reading this attribute if midpoint
can't read it ?</b></p>
<p>thanks<br>
</p>
</body>
</html>