On Sep 10, 2012, at 3:55 PM, Jerome Velociter <jerome(a)velociter.fr> wrote:
On 09/10/2012 03:48 PM, Eugen Colesnicov wrote:
Jerome Velociter-5 wrote
We've decided not to bundle the LDAP service
by default. You need to
install it manually via the extension manager. See
http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application.
Of course, I installed LDAP application via extention manager. In extention
manager I written LDAP - get result "LDAP Application 4.0" and installed
this (with all dependences - automatically). Maybe need something else to
install?
Also, I uncommented
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
in
xwiki.org
After this step, opened LDAP inside administration and top of page I see
this message:
"LDAP service is not available. Please verify your installation."
It looks like a dependency issue. This message is issued when the xwiki-platform-ldap-api
is not present in the classpath (I agree the message itself is not very clear).
I see the dependency is correctly listed in the dependencies section of the extension
page, at
http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application#HDepe… :
org.xwiki.platform:xwiki-platform-ldap-api 4.0
Do you remember if it was listed in the extension UI as a dependency when installing the
extension ?
BTW Vincent, devs, what's the strategy for not-bundled extensions released by the
xwiki development team when releasing platform ? Do we need to update the extension pages
at each release ? Did I miss something ?
You import the module once through the extension importer on e.x.o and then it's
supposed to be done automatically through a scheduler job that doesn't exist yet :)
So ATM it's manual and we don't do it… We need to fix this.
Note that the issue re the scheduler is that we need a way to ensure information
don't get overwritten. For ex right now if you import/reimport the extension name gets
overwritten by the name from the pom.xml which isn't nice. Thomas has been working on
adding supprot for metadata in the pom for this but I don't know the status. Thomas?