Hello all,
I'm working with the last version of XE and i get the LDAP authentication on
my Active Directory Domain.
My problem is when i move a user to a different OU in the Active Directory,
the user can't login in Xwiki anymore...(Error : Wrong password).
Is there a way to configure the xwiki.cfg in order the authentication could
"browse" the all Active Directory to find the user and allow him to login ?
Thanks in advance.
--
View this message in context: http://n2.nabble.com/Xwiki-LDAP-Authentication-doesn%27t-work-when-you-move…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, we are a non-profit Italian organization for enviroment and waste
recycling activism.
We would like to use this wiki for collaboration and generate documentation.
username: aravasio
server name: bergamo5stelle
Thanks in advance.
Andrea Ravasio
Hi guys,
Tried migrating from 3.5 to 4.1.3 on my test instance, and it seems
I'm stuck ...
My test wiki is setup as a multi-wiki environment (for workspaces),
the main db "xwiki" fails to be migrated, though other ones succeed.
I checked other posts about migration issues, and it seems there
usually are some indicative logs about what sql fails, in my case I
only get a not nice NPE ...
I saw other things about custom annotation class, but I do not
remember having customized this in any way ... Some residue of
previous migrations maybe ?
The error in logs at startup is :
2012-08-06 14:06:58,920
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
.HibernateDataMigrationManager - Running storage schema updates and
migrations
2012-08-06 14:06:59,110
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
.HibernateDataMigrationManager - Starting migration for database
[xwiki]...
2012-08-06 14:06:59,527
[http://hostname:8080/xwikitest/bin/view/Main/] WARN
h.R40001XWIKI7540DataMigration - Skipping database [xwiki] because it
uses a custom annotation class. Comments and anotations will remain
separated
2012-08-06 14:06:59,527
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
.HibernateDataMigrationManager - Current storage version = [15429]
2012-08-06 14:06:59,527
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
.HibernateDataMigrationManager - List of migrations that will be
executed:
2012-08-06 14:06:59,527
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
.HibernateDataMigrationManager - R40000XWIKI6990 - Convert document
IDs to use the new improved hash algorithm.
2012-08-06 14:07:00,626
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - 21 schema updates
required.
2012-08-06 14:07:01,959
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
c.x.x.s.m.liquibase - Successfully acquired change log lock
2012-08-06 14:07:02,128
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
c.x.x.s.m.liquibase - Reading from `DATABASECHANGELOG`
2012-08-06 14:07:02,136
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
c.x.x.s.m.liquibase - Reading from `DATABASECHANGELOG`
2012-08-06 14:07:02,231
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
c.x.x.s.m.liquibase - Successfully released change log lock
2012-08-06 14:07:02,232
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
.HibernateDataMigrationManager - Running migration [R40000XWIKI6990]
with version [40000]
2012-08-06 14:07:02,893
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 0
document IDs to be converted.
2012-08-06 14:07:03,421
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 6297
object IDs to be converted.
2012-08-06 14:07:03,489
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 6
custom mapped classes to be processed.
2012-08-06 14:07:17,970
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 793746
document statistics IDs to be converted.
2012-08-06 14:07:22,231
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 223856
referer statistics IDs to be converted.
2012-08-06 14:08:20,614
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 1177489
visit statistics IDs to be converted.
2012-08-06 14:08:20,635
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - No document IDs
to convert, skipping.
2012-08-06 14:08:20,681
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
.HibernateDataMigrationManager - Failed to migrate database [xwiki]...
com.xpn.xwiki.store.migration.DataMigrationException: Data migration
R40000XWIKI6990 failed
at com.xpn.xwiki.store.migration.hibernate.AbstractHibernateDataMigration.migrate(AbstractHibernateDataMigration.java:111)
~[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:621)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsForDatabase(AbstractDataMigrationManager.java:546)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:475)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.startMigrations(HibernateDataMigrationManager.java:296)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:421)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:666)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:813)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:746)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:736)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1438)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1481)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2215)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2247)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1114)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:790)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
[ ... some lines excluded ... ]
Caused by: java.lang.NullPointerException: null
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration.getAllTableToProcess(R40000XWIKI6990DataMigration.java:777)
~[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration.getAllTableToProcess(R40000XWIKI6990DataMigration.java:761)
~[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration.hibernateMigrate(R40000XWIKI6990DataMigration.java:1066)
~[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.hibernate.AbstractHibernateDataMigration.migrate(AbstractHibernateDataMigration.java:109)
~[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
... 57 common frames omitted
Thanks for help !
Jeremie
Thanks for your reply. I have reinstalled the ratings extension multiple
times, but with no effect.
Maybe the problem is the container restarting. If I restart the xwiki
container I´m getting a Apache/Tomcat error:
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3
in 0: Could not initialize main XWiki context
So I need to restart the whole Tomcat to get my XWiki working again. Could
this be the problem?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Ratings-Application-not-working-tp7379389…
Sent from the XWiki- Users mailing list archive at Nabble.com.
upgrading from 3.5 on tomcat6 with mysql and LDAP auth against AD
OS is Ubuntu 10.0.4
only "customisation" was in hibernate.cfg.xml for database and
xwiki.cfg for LDAP and lucene path
backed up database
downloaded and unzipped new war file
stopped tomcat
moved webapps/xwiki to a backup location
put the new xwiki in webapps/xwiki
edited hibernate.cfg.xml: xwiki.cfg and xwiki.properties to match previous
removed the LDAP config apart from
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap=1
started up tomcat
logged in as local admin
imported new admin.xar
imported all of it, (well I'd upgraded this install quite a few times
and wanted a "clean sheet")
changed admin user password
changed rights to prevent unregistered users
imported the new ldap.xar
go to setup LDAP
get error "LDAP service is not available. Please verify your installation."
logout as local admin
login as superadmin and get same errror
documentation here
http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application
links to here http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HLDAPAut…
which doesn't have anything specific
google searches for the error don't have anything remotely useful
all pages are in place and database looks good, but the lack of LDAP
auth is a bit of a pain
any suggestions, or should I go back to 3.5 and upgrade to 4.1.1
without the LDAP .xar ?
Cheers
Arne
Hi I
run a not for profit civil rights issue website directed towards
repealing bike helmet laws in australia
http://bicycleaustralia.org/fight.php
and a facebook page also
http://www.facebook.com/pages/Repeal-Mandatory-Bicycle-Helmet-Laws/29970874…
And wanted to do a wiki with an faq and other information for people who
are interested to help repeal bicycle helmet laws.
The domain prefix would be
bicycleaustralia.myxwiki.org
my username on myxwiki.org is
stephenhumble
my username on the xwiki user mail list is steveo
Hope you can help by hosting this service for me -
I was considering my own private wiki but your wiki farm seems made for
this.
Dear all,
I discovered an unexpected behaviour in my installation of "XWIKI
ENTERPRISE 4.2.2".
I have in space Main a set of "public" pages meaning that can be viewed by
un-registerd users and a set of "private" pages that needs to be logged-in
to view them. I achieved such a configuration by (starting from the initial
configuration) denying View permission for un-registered users at wiki
level (hence by default the wiki is private) and granting explicitly, for
each page I want to be public, the View permission for un-registered users.
Now, I want to export the space Main in html format. Following the guide at
[1], I'm using this URL:
http://<SERVER>/xwiki/bin/export/Main/<PAGE>?format=html&pages=Main.%25
If PAGE=MyPrivatePage (a private page) and I'm not logged-in, the browser
redirects me to the login page. Correct.
If PAGE=MyPublicPage (a public page) and I'm not logged-in the export
works. Then opening the zip archive returned, I found that it contains also
private pages!
In the matter of facts, as un-registered user I did an export of the entire
space starting from a page viewable by unregistered users and I obtained in
the zip ALL pages including pages that I cannot normally view from the
browser!
For what I understood, xwiki checks access rights for PAGE, but if allowed,
then the export includes all pages regardless whether the user that is
requesting the export can view those pages or not.
Maybe I just set permissions in the wrong way. Can someone give me a hint
on this?
Thank you very much,
Gabriele
[1] http://platform.xwiki.org/xwiki/bin/view/Features/Exports
Hi all,
I have a major problem here, as we have around 10 Spaces filled with many
pages and now we need to rename some spaces. We'd like to move the sub pages
in these spaces too. Finally, a space should have a new name, and all pages
below should be referenced to the new space name correctly (including those
backlinks at the top).
I can't believe this isn't possible :-(
http://extensions.xwiki.org/xwiki/bin/view/Extension/Rename+Space doesn't
help obviously.
Thanks in advance for any help
Information:
XWiki 3.5 standalone
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-3-5-Renaming-Spaces-including-sub-p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
i'm trying to create the official 4.1.3 stable build by building from
source code. but couldn't find the correct source code revision for
official 4.1.3 stable
Source code location: https://github.com/xwiki/xwiki-platform
branch: stable-4.1.x
Actually, i was trying to find a branch or tag that contains
stable-4.1.3, stable-4.1.x is the closest thing i can find in github
The content of jar file are very different between what i built from
4.1.x and what was distribued in
xwiki-enterprise-jetty-hsqldb-4.1.3.zip
For example:
the jar file name of oldcore is called
xwiki-platform-legacy-oldcore-4.1.3.jar in
xwiki-enterprise-jetty-hsqldb-4.1.3.zip, and it has compatibility sub
folder
the name is called xwiki-platform-oldcore-4.1-SNAPSHOT.jar, when
compiled from stable-4.1.x, and it does have compatibility sub
folder. this is just one of the differences
Thank you very much
Ray
I am trying to upgrade from 3.0 rc1 to something more current. I have
tried to go from 3.0 -> 3.5 and from 3.0 -> 4.1.3 both times I lost the
ability to see my user rights and my document index.
I was just trying to upgrade the core components so I was not importing the
default xar, although I did try that too following the precautions not to
import Preferences and Rights pages.
Do I need to go sequentially through all versions or is there a suggestion
on how I may accomplish this? My wiki currently is not that big but we are
getting prepared to rollout to larger audience and I would like to upgrade
before.
Thanks for any advice,
Bob