Hi there folks!

I'm new to Roller, as well as for Glassfish, the application server that I'm
using.

As part of this installation (it will be a blog server for students and
teachers), I needed to integrate Roller with the Active Directory (AD)
domain of the university where I work. Right now, I could install Roller
without any problems, and it was a big surprise to know how easy it was,
being a new JAVA thing to me, who is used to php and rails.

I have Glassfish setup and running on http://domain:8080 and Roller already
installed on /roller. I followed the instructions on
http://cwiki.apache.org/confluence/display/ROLLER/Roller+4.0+with+LDAP+and+CASand
couldn't get things running smoothly (at least the AD integration
part).

Verifying the Glassfish server log, I found something of interest:

com.sun.enterprise.server.PELaunch.main(PELaunch.java:412) Caused by:
javax.naming.NamingException: Invalid context name
[DC=campus1,DC=uniaraxa,DC=edu,DC=br]. Name must start with java: at

My ldap configuration on security.xml is setup as following:

<bean id="initialDirContextFactory" class="
org.acegisecurity.ldap.DefaultInitialDirContextFactory">
        <constructor-arg
value="ldap://campus1.uniaraxa.edu.br:389/DC=campus1,DC=uniaraxa,DC=edu,DC=br"/>
        <property name="managerDn"
value="CN=manager,CN=Users,DC=campus1,DC=uniaraxa,DC=edu,DC=br"/>
        <property name="managerPassword" value="secret"/>
</bean>

I might ask you guys if I did something  wrong, because I use this same
information to connect to this AD server using JXplorer.

Has anyone already integrated Roller with AD?

Thanks in advance!

Reply via email to