<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello!</p>
<p>I'm trying to configure OpenLDAP resource. I am using for the
users some other objectClasses, i.e: "sambaSamAccount".</p>
<p>In the user section of SchemaHandling I added the
auxiliaryObjectClasses:<br>
</p>
<p><auxiliaryObjectClass>ri:sambaSamAccount</auxiliaryObjectClass></p>
<p>But if I go to the resource and try to browse accounts I have an
error:</p>
<p><i>Operation</i><i><b id="id69b"><br>
operation.com.evolveum.midpoint.web.component.data.SelectableBeanObjectDataProvider.searchObjects</b></i>
</p>
<p><i>Message</i><i><br>
</i><i>Couldn't list objects.</i><dd>
<table class="paramtable">
</table>
</dd>
<dt id="id69e"><i>Error</i><i><br>
</i><i>Got unexpected exception:
java.lang.NumberFormatException: For input string:
"87730534435"</i></dt>
</p>
<p>The numeric value that is causing error comes from the
"sambaPwdMustChange" attribute from the "sambaSamAccount" object
class.<br>
This the only place in my LDAP where this particular value exists.<br>
</p>
<p>In the schema section of resource configuration it was recognized
as Integer data type, as in the ldap schema extension this is
integer:</p>
<p><i>attributetype ( 1.3.6.1.4.1.7165.2.1.29 NAME
'sambaPwdMustChange'</i><i><br>
</i><i> DESC 'Timestamp of when the password will expire'</i><i><br>
</i><i> EQUALITY integerMatch</i><i><br>
</i><i> SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )</i><br>
</p>
<p>I modifed the resource schema manually and set this attribute as
"long" and also tried "string" but the error is still the same.<br>
</p>
<p>I tried to use different connector version, from 1.4.4 up to
1.5.1 and this not helped.<br>
Midpoint version 3.7-post-fixes from yesterday's build.</p>
<p>Any ideas?<br>
Thanks a lot!<br>
WS<br>
</p>
</body>
</html>