<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">All,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have recently created a new Omero server (version 4.4.8), but I have not been able to configure this new server to authenticate using LDAP.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have configured the LDAP properties in “/opt/OMERO.server-4.4.8-ice33-b256/etc/omero.properties” to be identical to another Omero server that I have already build, which is running Omero version 4.4.6.  I have also issued the command
 lines to set the appropriate variables, (bin/omero config set omero.ldap.*).  The LDAP authentication is, however, still failing on the new server.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When I attempt to login to the new server with a User that is configured to use LDAP, I see the following
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt">2013-07-09 10:26:59,121 INFO  [        ome.services.util.ServiceHandler] (l.Server-8)  Excp:    java.lang.ClassCastException: [B cannot be cast to java.lang.Comparable<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt">2013-07-09 10:26:59,122 ERROR [services.blitz.fire.PermissionsVerifierI] (l.Server-8) Exception thrown while checking password for:webberj<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt">ome.conditions.InternalException:  Wrapped Exception: (java.lang.ClassCastException):<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt">[B cannot be cast to java.lang.Comparable<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt">        at java.util.TreeMap.compare(TreeMap.java:1188)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt">        …<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have checked the for the Java and LDAP packages that are installed on my server (which is running “CentOS release 5.9 (Final)”), but I believe that these look correct.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Please can anyone give me some guidance as to what this issue might be related to?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal">John<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#4F81BD;mso-fareast-language:EN-GB">-------------------------------------------------------------------------------------------------------------------------------------------- </span></b><span style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><b><span style="font-family:"Arial","sans-serif";color:#548DD4;mso-fareast-language:EN-GB">John Webber<br>
</span></b><span style="color:#1F497D;mso-fareast-language:EN-GB">Computing and Information Services</span><span style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><span style="color:#1F497D;mso-fareast-language:EN-GB">NBI Partnership Ltd</span><span style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><span style="color:#1F497D;mso-fareast-language:EN-GB">Norwich Research park</span><span style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><span style="color:#1F497D;mso-fareast-language:EN-GB">Colney Lane</span><span style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><span style="color:#1F497D;mso-fareast-language:EN-GB">Norwich</span><span style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><span style="color:#1F497D;mso-fareast-language:EN-GB">NR4 7UH</span><span style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><span style="color:#1F497D;mso-fareast-language:EN-GB"> </span><span style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><span style="color:#1F497D;mso-fareast-language:EN-GB">E-Mail: 
<a href="mailto:john.webber@nbi.ac.uk"><span style="color:blue">john.webber@nbi.ac.uk</span></a></span><span style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><span style="color:#1F497D;mso-fareast-language:EN-GB">Web:    
<a href="http://www.nbi.ac.uk"><span style="color:blue">http://www.nbi.ac.uk</span></a></span><span style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><span style="color:#1F497D;mso-fareast-language:EN-GB">Tel:        +44(0)1603 450 818</span><span style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB"> </span><span style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span style="color:#1F497D;mso-fareast-language:EN-GB">The NBI Partnership Ltd provides non-scientific services to the Institute of Food Research, the John Innes Centre, The Genome Analysis Centre and The Sainsbury Laboratory</span></i><span style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>