<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic LDAP Authentication Error in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ldap-authentication-error/m-p/70270#M45297</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got the following error with Alfresco 1.4 Community when I tried to authenticate with my LDAP server using multiple context:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;javax.faces.FacesException: Error calling action method of component with id loginForm:submit&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;caused by:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;javax.faces.el.EvaluationException: Exception while invoking expression #{LoginBean.login}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;caused by:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.util.MissingFormatArgumentException: Format specifier 's'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have no idea what this error means so any help would be greatly appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my current LDAP configuration:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This maps between what the user types in and what is passed through to the underlying LDAP authentication.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "%s" - the user id is passed through without modification.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Used for LDAP authentication such as DIGEST-MD5, anything that is not "simple".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "cn=%s,ou=London,dc=company,dc=com" - If the user types in "Joe Bloggs" the authentricate as "cn=Joe Bloggs,ou=London,dc=company,dc=com" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Usually for simple authentication.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; –&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;cn=%s,o=NEHTA;cn=%s,o=SYDNEY,ou=USERS&amp;lt;/value&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need for Alfresco to search multiple context as my users are not all under the one context.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Charles Mathieu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jan 2007 23:05:19 GMT</pubDate>
    <dc:creator>cmathieu</dc:creator>
    <dc:date>2007-01-09T23:05:19Z</dc:date>
    <item>
      <title>LDAP Authentication Error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-authentication-error/m-p/70270#M45297</link>
      <description>Hi all,I got the following error with Alfresco 1.4 Community when I tried to authenticate with my LDAP server using multiple context:javax.faces.FacesException: Error calling action method of component with id loginForm:submitcaused by:javax.faces.el.EvaluationException: Exception while invoking exp</description>
      <pubDate>Tue, 09 Jan 2007 23:05:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-authentication-error/m-p/70270#M45297</guid>
      <dc:creator>cmathieu</dc:creator>
      <dc:date>2007-01-09T23:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication Error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-authentication-error/m-p/70271#M45298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can only specify one DN form at the moment. Expanding this is on the TODO list. You can do what you want with chaining authentication; although it requires a bit more config it is more powerful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 10:49:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-authentication-error/m-p/70271#M45298</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2007-01-30T10:49:00Z</dc:date>
    </item>
  </channel>
</rss>

