[Building Sakai] JLDAP issue on 2.6.x
Am Khan
akhan at acoe.org
Mon Aug 31 11:23:21 PDT 2009
I am having some issues with JLDAP setup with Sakai 2.6.x. I had this all working on Sakai 2.5.2.
I get the following error when I go to http://<myserver>/portal
LDAPException: Server Message: 000004DC: LdapErr: DSID-0C0906DD, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v1771
LDAPException: Matched DN:
Then when I try to login I get the following error:
2009-08-31 11:48:02,376 DEBUG http-8080-Processor19 edu.amc.sakai.user.JLDAPDirectoryProvider - cacheUserData(): [user record = edu.amc.sakai.user.LdapUserData at 92ef0b[
eid=akhan
firstName=Am
lastName=Khan
email=akhan at acoe.org
type=registered
properties={...}
]]
2009-08-31 11:48:02,377 DEBUG http-8080-Processor19 edu.amc.sakai.user.JLDAPDirectoryProvider - authenticateUser(): returning connection to connection manager
2009-08-31 11:48:02,377 DEBUG http-8080-Processor19 edu.amc.sakai.user.JLDAPDirectoryProvider - !!! Returned connection!
2009-08-31 11:48:02,378 ERROR http-8080-Processor19 org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/sakai-login-tool].[sakai.login] - Servlet.service() for servlet sakai.login threw exception
java.lang.RuntimeException: authenticateUser(): LDAPException during authentication attempt [userLogin = akhan][result code = Operations Error][error message = 000004DC: LdapErr: DSID-0C0906DD, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v1771]
But if I refresh the page I get logged in with out a problem. Also, two of the JLDAP tests are failing
Tests run: 6, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.015 sec <<< FAILURE!
testInitializationCachesDefaultMappingsIfNoMappingsExplicitlySpecified(edu.amc.sakai.user.SimpleLdapAttributeMapperTest) Time elapsed: 0 sec
testExplicitlySpecifiedMappingsCompletelyReplaceDefaults(edu.amc.sakai.user.SimpleLdapAttributeMapperTest) Time elapsed: 0 sec
testExplicitlySpecifyingNullMappingsRevertsToDefaults(edu.amc.sakai.user.SimpleLdapAttributeMapperTest) Time elapsed: 0 sec
testExplicitlySpecifyingEmptyMappingsRevertsToDefaults(edu.amc.sakai.user.SimpleLdapAttributeMapperTest) Time elapsed: 0.001 sec
testSkipsExtraAttributeMapping(edu.amc.sakai.user.SimpleLdapAttributeMapperTest) Time elapsed: 0.004 sec <<< ERROR!
java.lang.NullPointerException
at edu.amc.sakai.user.SimpleLdapAttributeMapper.mapLdapAttributeOntoUserData(SimpleLdapAttributeMapper.java:226)
at edu.amc.sakai.user.SimpleLdapAttributeMapper.mapLdapEntryOntoUserData(SimpleLdapAttributeMapper.java:169)
at edu.amc.sakai.user.SimpleLdapAttributeMapperTest.testSkipsExtraAttributeMapping(SimpleLdapAttributeMapperTest.java:102)
testExtraAttributeMapping(edu.amc.sakai.user.SimpleLdapAttributeMapperTest) Time elapsed: 0.001 sec <<< ERROR!
java.lang.NullPointerException
at edu.amc.sakai.user.SimpleLdapAttributeMapper.mapLdapAttributeOntoUserData(SimpleLdapAttributeMapper.java:226)
at edu.amc.sakai.user.SimpleLdapAttributeMapper.mapLdapEntryOntoUserData(SimpleLdapAttributeMapper.java:169)
at edu.amc.sakai.user.SimpleLdapAttributeMapperTest.testExtraAttributeMapping(SimpleLdapAttributeMapperTest.java:120)
I am running 2.6.x
Thanks and regards
Am Khan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090831/f2635bbf/attachment.html
More information about the sakai-dev
mailing list