cancel
Showing results for 
Search instead for 
Did you mean: 

LDAP Authentication Error

cmathieu
Champ in-the-making
Champ in-the-making
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:submit
caused by:
javax.faces.el.EvaluationException: Exception while invoking expression #{LoginBean.login}
caused by:
java.util.MissingFormatArgumentException: Format specifier 's'

I have no idea what this error means so any help would be greatly appreciated!

This is my current LDAP configuration:

This maps between what the user types in and what is passed through to the underlying LDAP authentication.
           
            "%s" - the user id is passed through without modification.
            Used for LDAP authentication such as DIGEST-MD5, anything that is not "simple".
           
            "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"
            Usually for simple authentication.
           
            –>
            <value>cn=%s,o=NEHTA;cn=%s,o=SYDNEY,ou=USERS</value>
        </property>
    </bean>

I need for Alfresco to search multiple context as my users are not all under the one context.

Thanks

Charles Mathieu
1 REPLY 1

andy
Champ on-the-rise
Champ on-the-rise
Hi

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.

Regards 

Andy