Ron Mascarenhas - 2011-05-16

I have defined the LDAP configuration in endevaour 1.25 as follows:

ldap.autentication.enabled=true
ldap.location="ldap://10.1.2.13:389"
ldap.ou="DC=mycom,DC=local"

When any user tries to login the following message appears in the log. Here I was trying the Admin login however the message appears for any user:

INFO: Not binding factory to JNDI, no JNDI name configured
javax.naming.NoInitialContextException: Failed to create InitialContext using factory specified in hashtable
{java.naming.provider.url="ldap://10.1.2.13:389", java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory,
java.naming.factory.url.pkgs=org.apache.naming, java.naming.security.principal=uid=Admin,"DC=mycom,DC=local",
java.naming.security.authentication=simple, java.naming.security.credentials=password}

        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:243)
        at javax.naming.InitialContext.initializeDefaultInitCtx(InitialContext.java:318)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:348)
        at javax.naming.InitialContext.internalInit(InitialContext.java:286)
        at javax.naming.InitialContext.<init>(InitialContext.java:211)
        at org.endeavour.mgmt.controller.SecurityMaintenance.authenticateLdapUser(SecurityMaintenance.java:106)
        at org.endeavour.mgmt.controller.SecurityMaintenance.verifyUser(SecurityMaintenance.java:81)
        at org.endeavour.mgmt.view.LoginView.login(LoginView.java:134)
        at org.endeavour.mgmt.view.LoginView.actionPerformed(LoginView.java:126)
        at thinwire.ui.EventListenerImpl.fireEvent(EventListenerImpl.java:313)
        at thinwire.ui.EventListenerImpl.fireAction(EventListenerImpl.java:245)
        at thinwire.ui.AbstractComponent.fireAction(AbstractComponent.java:158)
        at thinwire.ui.Button.fireAction(Button.java:82)
        at thinwire.render.web.ComponentRenderer.componentChange(ComponentRenderer.java:375)
        at thinwire.render.web.EventProcessor.processUserActionEvent(EventProcessor.java:129)
        at thinwire.render.web.EventProcessor.run(EventProcessor.java:85)