[opencms-dev] LDAP-connector in OpenCMS 6.0.4

pascal.hollenbrock at bayerbbs.com pascal.hollenbrock at bayerbbs.com
Tue Mar 28 10:39:02 CEST 2006


Hi list!

I have recently installed the Alkacon OCEE LDAP-connector on OpenCMS 6.0.4 
(running on Tomcat 5.5.9 and MySQL 4.1). The CMS is connected to a 
version3-compliant LDAP. 

If I logon with my user-data as they are stored within the LDAP a blank 
page appears, nothing more - no warning or error. Therefore I think that 
the system recognizes that I am using the correct password as saved within 
the LDAP. If I login as local OpenCMS-user my user-ID with which I 
formerly tried to log in is displayed in the group "LDAP group", i.e. the 
system seems to have recognized my tryings to log in. 

However I can choose "Synchronize user" or whatever - I won't be able to 
login with me LDAP-UserID. 
The Log gives the following error: 
============================================================================================================================
28 Mar 2006 09:33:32,804 ERROR [ina.core.ApplicationDispatcher: 704] 
Servlet.service() for servlet jsp threw exception
java.lang.StringIndexOutOfBoundsException: String index out of range: -30
        at java.lang.String.substring(Unknown Source)
        at 
org.opencms.ocee.ldap.CmsLdapGroupMemberUrl.<init>(CmsLdapGroupMemberUrl.java:69)
        at 
org.opencms.ocee.ldap.CmsLdapManager.lookupGroupNames(CmsLdapManager.java:714)
        at 
org.opencms.ocee.ldap.CmsLdapUserDriver.o000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000super(CmsLdapUserDriver.java:1296)
        at 
org.opencms.ocee.ldap.CmsLdapUserDriver.readUser(CmsLdapUserDriver.java:788)
        at 
org.opencms.ocee.ldap.CmsLdapUserDriver.readUser(CmsLdapUserDriver.java:803)
        at 
org.opencms.db.CmsDriverManager.loginUser(CmsDriverManager.java:3997)
        at 
org.opencms.db.CmsSecurityManager.loginUser(CmsSecurityManager.java:2773)
        at org.opencms.file.CmsObject.loginUser(CmsObject.java:1803)
        at org.opencms.jsp.CmsJspLoginBean.login(CmsJspLoginBean.java:189)
        at org.opencms.jsp.CmsJspLoginBean.login(CmsJspLoginBean.java:169)
        at org.opencms.workplace.CmsLogin.displayDialog(CmsLogin.java:218)
        at 
org.apache.jsp.WEB_002dINF.jsp.online.system.login.index_html_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.online.system.login.index_html_jsp:48)
        at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
...
=============================================================================================================================

A further aspect is that to me it seems that the connector does not list 
the groups or users of LDAP-subtree-level but only of the highest level. 

In consequence I have the following questions: 

(1) 
Why can't I login with my LDAP-UserID? Where could be the reason for the 
blank-page after login? Could it be an error within the LDAP-configuration 
of the OpenCMS-xml-files? 
Has anyone made similar experiences? 

(2) 
How can I assure that not only one level but instead all entries of the 
LDAP-subtrees are displayed? 

Thanks in advance for your answers,
Pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060328/378fc249/attachment.htm>


More information about the opencms-dev mailing list