We are trying to implement the transparent login for eDirectory (8.7) on
CAS 3.4.5. We currently have our production environment working on CAS
3.3.2.
I have noticed a few class changes and as such the configuration is
slightly different between the versions. The issue I am having is that
the login flow breaks with an invalid syntax error on the lookup of
eDirectory.
2011-02-07 12:23:11,852 DEBUG
[org.springframework.webflow.engine.impl.FlowExecutionImpl] -
<Attempting to handle
[org.springframework.webflow.execution.ActionExecutionException:
Exception thrown executing
org.jasig.cas.adaptors.ldap.remote.RemoteAddressNonInteractiveCredential
sAction@1735602 in state 'startAuthenticate' of flow 'login' -- action
execution attributes were 'map[[empty]]'] with root cause
[javax.naming.directory.InvalidAttributeValueException: [LDAP: error
code 21 - NDS error: no additional information available (-306)];
remaining name 'ou=staff,o=racp']>
2011-02-07 12:23:11,852 DEBUG
[org.springframework.webflow.engine.impl.FlowExecutionImpl] -
<Rethrowing unhandled flow execution exception>
2011-02-07 12:23:11,852 DEBUG
[org.springframework.web.servlet.DispatcherServlet] - <Could not
complete request>
org.springframework.webflow.execution.ActionExecutionException:
Exception thrown executing
org.jasig.cas.adaptors.ldap.remote.RemoteAddressNonInteractiveCredential
sAction@1735602 in state 'startAuthenticate' of flow 'login' -- action
execution attributes were 'map[[empty]]'
at
org.springframework.webflow.execution.ActionExecutor.execute(ActionExecu
tor.java:60)
at
org.springframework.webflow.action.EvaluateAction.doExecute(EvaluateActi
on.java:77)
at
org.springframework.webflow.action.AbstractAction.execute(AbstractAction
.java:188)
at
org.springframework.webflow.execution.AnnotatedAction.execute(AnnotatedA
ction.java:145)
at
org.springframework.webflow.execution.ActionExecutor.execute(ActionExecu
tor.java:51)
at
org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:
101)
at
org.springframework.webflow.engine.State.enter(State.java:194)
deployerConfigContext.xml (relevant bits)
<bean
class="org.jasig.cas.adaptors.ldap.remote.RemoteIpLookupCredentialsToPri
ncipalResolver">
<property name="filter"
value="(&(networkAddress=%u)(objectclass=inetOrgPerson))" />
<property
name="principalAttributeName" value="uid"/>
<property name="searchBase"
value="ou=staff,o=racp" />
<property name="contextSource"
ref="contextSourceeDir" />
<property name="ipAddressFormat"
value="edirectory87" />
<property name="timeout"
value="6000" />
</bean>
Any help would be greatly appreciated.
Colby
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user