Good morning.
I've configured XWiki 1.1.1 on WebSphere, with LDAP (AD) as my
authentication service. I imported the provided XAR file.
>From what I can tell, I have LDAP configured properly. But when I go
to log in, I get this message:
You are not allowed to view this document or perform this action.
I log in as the superadmin, and see that my user shows up in Users and
has been added to the XWikiAllGroup three times (not sure why three
times).
In the xwiki.log, I've turned the debug on for LDAP, and see this
message at the bottom "Accept user even without account".
What is wrong? Does the user need to have an account on the system
before LDAP will work? How do I get it to not add the user to the
XWikiAllGroup three times on each login?
Patrick
Here is the excerpt from xwiki.cfg:
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=DCTWDPUS02.us.dci.discovery.com
xwiki.authentication.ldap.check_level=1
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.base_DN=dc=us,dc=dci,dc=discovery,dc=com
xwiki.authentication.ldap.bind_DN=US\\{0}
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.UID_attr=sAMAccountName
xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,ldap_dn=dn
Here is the output in the xwiki.log file. It's a subset. If you need
more, I can post it.
08:21:53,610 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- User authenticated successfully
08:21:53,623 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Finding user pgardell
08:21:53,652 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Ready to create user from LDAP
08:21:53,665 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Ready to create user from LDAP with field
name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,ldap_dn=dn
08:21:53,767 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP looking at field name
08:21:53,780 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP looking at field last_name
08:21:53,793 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP setting field last_name
08:21:53,809 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP looking at field first_name
08:21:53,822 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP setting field first_name
08:21:53,835 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP looking at field fullname
08:21:53,848 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP setting field fullname
08:21:53,861 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP looking at field mail
08:21:53,874 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP looking at field ldap_dn
08:21:53,890 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Create user from LDAP setting field ldap_dn
08:21:54,084 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Looking for user again pgardell
08:21:54,091 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Finding user pgardell
08:21:54,659 [WebContainer : 2] DEBUG LDAP.LDAPAuthServiceImpl
- Accept user even without account
Hi,
Thanks for your replies. But I am running the Wiki in Firefox and yes I do allow cookies.
I tried to install the 1.12 stable release, with same result.
Does anyone else have suggestions, or a pointer to a database population script or...
Cheers
/Thorbjørn
Message: 3
Date: Wed, 14 Nov 2007 12:32:23 +0100 (CET)
From: pentaho(a)fsck.ch
Subject:
To: "XWiki Users" <users(a)xwiki.org>
Message-ID: <29413.62.2.233.2.1195039943.squirrel(a)secure.socket.ch>
Content-Type: text/plain;charset=iso-8859-1
Another thing to look out for is to allow cookies. Gets me every time.
--
W: http://kodefabrikken.dk
If you failing to plan, then you´re planning to fail.
Hi,
When I try to access "http://127.0.0.1:8080/xwiki/bin/view/Main/WebHome"
page i get this error:
HTTP Status 404 - /xwiki/bin/view/Main/WebHome
The requested resource (/xwiki/bin/view/Main/WebHome) is not available.
Can you give me some help to solve this problem?
Thanks!
Loris
I noticed that XWiki uses SecurityFilter. I have a Tomcat configuration
that already has a JAAS realm setup with a custom JAAS module. It doesn't
seem like the SecurityFilter configuration will really work with this - I'd
probably have to implement a custom XWikiAuthService that talks to the JAAS
implementation directly, which sort of defeats the purpose of having Tomcat
manage that for me.
Has anyone attempted something similar? would it be a lot of work for me to
modify the source to use the container security instead of SecurityFilter?
Thanks
Ben
In XWiki.Results, I replaced the line
#if ($xwiki.hasAccessLevel("view", $context.user,
"${context.database}:${item}"))
with
#if ($xwiki.hasAccessLevel("view", context.user,
"${item.getWeb()}.${item.getName()}"))
and everything works.
I have no idea what the 3rd parameter in the first line means, I just
looked at what type $item has and then changed the line according to the
lucene plugin api.
So, as LuceneSearch is not the only one using XWiki.Results, this probably
breaks things, as $item not always is a lucene.SearchResult.
Any better idea to fix this? What else than WebSearch uses XWiki.Results?
Can somebody comment on this?
Thanks,
Tobias
Hi !
Would it be possible to add a "upload_maxsize" property to the
XWiki.XWikiPreferences class? Instead of having to add it yourself in
the class when you need it.
For example, when you reset the database and want to import your
backup archive, if the archive is too big then you are stuck. Because
when you try to edit the XWiki.XWikiPreferences class to add the
upload_maxsize property, there is no button to add a property to the
class. So basically I think you are stuck.
I think the best solution would be to have the upload_maxsize field
present by default, like all the other fields, in the
XWiki.XWikiPreferences class. However I dont know how to do this on my
installation, and maybe it would be nice to have it in XWiki.
thanks
--
Jean-Vivien MAURICE
Elève Ingénieur Informatique et Gestion, Polytech'Montpellier (ISIM)
E-mail : jean.vivien.maurice(a)gmail.com
Tél. : 0046 7 62 33 20 46
Skype : jean.vivien
Hi,
We are currently evaluating the XWiki platform. I installed the windows
exe (xwiki-enterprise-installer-windows-1.2-milestone-1.exe
<https://forge.objectweb.org/project/download.php?group_id=170&file_id=9077>).
I ran very very well and we are impressed with the results we could
produce in a very short time.
We want to use the XWiki system on our existing Tomcat server (version
5.5.15) running on windows XP. The database is a MySql database. I
managed to get everything up and running. Hibernate correctly creates
tables in the database.
My problem is that it is not possible to log in. There is no Admin user.
I have tried with the superadmin account, it accepts the
superadmin/system passwor forwards to the WebHome page but I am still
not logged in so that I can import the manager application.
I have checked the archieves and found this
http://www.nabble.com/new-wiki%2C-no-users-tf342288.html#a951113
But I am not sure wheter it holds for the 1.2 snapshot release.
Help is greatly appreciated!! :-)
Cheers
/Thorbjørn
--
W: http://kodefabrikken.dk
If you failing to plan, then you´re planning to fail.
>> Would it be possible to add a "upload_maxsize" property to the
>> XWiki.XWikiPreferences class? Instead of having to add it yourself in
>> the class when you need it.
>> For example, when you reset the database and want to import your
>> backup archive, if the archive is too big then you are stuck. Because
>> when you try to edit the XWiki.XWikiPreferences class to add the
>> upload_maxsize property, there is no button to add a property to the
>> class. So basically I think you are stuck.
>> I think the best solution would be to have the upload_maxsize field
>> present by default, like all the other fields, in the
>> XWiki.XWikiPreferences class. However I dont know how to do this on my
>> installation, and maybe it would be nice to have it in XWiki.
See also http://jira.xwiki.org/jira/browse/XWIKI-1811
Hi there,
My XWiki linux server restarted after a power glitch and has bizzarly
reverted back to how it looked a couple of weeks ago, and of course the
import facility says there's no documents in the last export backup, so I
can't even restore it! What's happened? How could this be possible? Can I
revert it back the content to what it had yesterday?
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Thomas Mortagne
Sent: 14 November 2007 09:09
To: XWiki Users
Subject: Re: [xwiki-users] Error 500: Could not initialize main XWiki
context
What is the name of your database ? "xwiki" or "xwikiDB", I ask that
because by default it's xwiki and it's xwikiDB in your hibernate
config.
2007/11/13, Karim-Pierre Maalej <maalej(a)enst.fr>:
> > What is in your
/usr/share/tomcat5.5/webapps/xwiki/WEB-INF/hibernate.cfg.xml ?
> >
> > Maybe it is not configured for mysql...
>
>
> Please find the configuration file hereunder (without the commented out
> parts). I think it is correct but maybe there's something I missed, like
> a typo or else.
>
>
>
> <?xml version='1.0' encoding='utf-8'?>
> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
> Configuration DTD//EN"
>
> "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
>
> <hibernate-configuration>
> <session-factory>
>
> <property name="show_sql">false</property>
> <property name="use_outer_join">true</property>
>
> <property name="dbcp.defaultAutoCommit">false</property>
> <property name="dbcp.maxActive">50</property>
> <property name="dbcp.maxIdle">5</property>
> <property name="dbcp.maxWait">30000</property>
> <property name="dbcp.whenExhaustedAction">1</property>
> <property name="dbcp.ps.whenExhaustedAction">1</property>
> <property name="dbcp.ps.maxActive">20</property>
> <property name="dbcp.ps.maxWait">120000</property>
> <property name="dbcp.ps.maxIdle">20</property>
>
> <property
>
name="connection.url">jdbc:mysql://127.0.0.1/xwikiDB?useServerPrepStmts=fals
e</property>
> <property name="connection.username">xwikiUser</property>
> <property name="connection.password">xwikiPwd</property>
> <property
> name="connection.driver_class">com.mysql.jdbc.Driver</property>
> <property
> name="dialect">org.hibernate.dialect.MySQLDialect</property>
>
> <property
>
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider<
/property>
> <property name="connection.pool_size">2</property>
> <property name="statement_cache.size">2</property>
>
> <!-- Mapping files -->
> <mapping resource="xwiki.hbm.xml"/>
> <mapping resource="feeds.hbm.xml"/>
>
> </session-factory>
> </hibernate-configuration>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hello,
When you state to clone the two classes, do you mean clone as in Java programming or clone as create inside the wiki itself?
Thanks,
Tim
> Vitantonio, Thanks for the response.
>
> So, let's say my space is called "Schedule".
>
> Do I clone Xwiki.ArticleClass, Xwiki.ArticleClassTemplate and
> XWiki.ArticleClassSheet
> as Schedule.ArticleClass, Schedule.ArticleClassTemplate and
> Schedule.ArticleClassSheet
> and create an equivalent to the XWiki Latest Articles page that uses them?
>
> Looks like I would also need to create a clone of Blog.Macros as maybe
> ScheduleBlog.Macros.
>
> Then if I want this for twenty other spaces, I would repeat the exercise
> twenty times.
>
> I wouldn't mind too much doing this, but it seems there ought to be an
> easier way.
>
Jean-Vivien,
You can't - that functionality hasn't yet been implemented as I found
recently!
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of jvivien.m2 jvivien.m2
Sent: 13 November 2007 15:50
To: users(a)xwiki.org
Subject: [xwiki-users] Removing a property in the Class Editor ?
Hi all,
how do you remove a property in a class, when you use the GUI (ie
"class" option in the "Edit" menu, for a given class page) ?
Thanks
--
Jean-Vivien MAURICE
Elève Ingénieur Informatique et Gestion, Polytech'Montpellier (ISIM)
E-mail : jean.vivien.maurice(a)gmail.com
Tél. : 0046 7 62 33 20 46
Skype : jean.vivien
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hi all,
how do you remove a property in a class, when you use the GUI (ie
"class" option in the "Edit" menu, for a given class page) ?
Thanks
--
Jean-Vivien MAURICE
Elève Ingénieur Informatique et Gestion, Polytech'Montpellier (ISIM)
E-mail : jean.vivien.maurice(a)gmail.com
Tél. : 0046 7 62 33 20 46
Skype : jean.vivien
Hello,
I have a second independent question, that's why I am doing a second post.
It would be nice to be able to display mathematical equation nicely.
Is there is any plan to include that in the near future, do somebody
already worked on that ? I would like to hear from Aidan Morgan, were
you successful to insert bibtex and/or latext2html plugin ?
How much work would it be to use the library from mediawiki, which is a
library written in ocaml that create an image on the fly ?
I would expect to have almost only the file
mediawiki-x.x.x/includes/Math.php to be translated to a velocity
templates or something like that.
Thanks,
Nicolas Rodriguez,
European Bioinformatics Institute
Hello,
I am evaluating xwiki to be used in my institute.
We have now some mediawiki, confluence and drupal wiki around.
I am testing now the mediawiki2xwiki but is there is some tools to
import confluence or drupal pages ?
Thanks,
Nicolas Rodriguez,
European Bioinformatics Institute
Hi all,
with the new XWiki version on the road I just resume my migration
assignment. Just to make a little review when trying to import the xar
file to v1.2 (take a look at
http://www.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUpgradinganXWi…)
it fails with a java.lang.NullPointerException
As I could see it brokes at
com.xpn.xwiki.web.ImportAction.render(ImportAction.java:42), but
couldn't see why.
I plan to fill a bug report and try to fix it (humbly I'm not sure of a
success history here, but I'll try ...), so my questions are :
* I need to add a new bug report or just add more info to the one
already opened (http://jira.xwiki.org/jira/browse/XWIKI-1809). In
my case is a null pointer exception when tries to open the file,
but in the reported one its caused when tries to parse the xml file
* I guess that this threads need to be redirected to the developer
list. I mean, IMHO, that this is not the proper place to ask
questions regarding to the fixing process, log handlers and so
Anyone is having the same problem and have fixed it ??
TIA
--
Víctor A. Rodríguez (http://www.bit-man.com.ar)
El bit Fantasma (Bit-Man) - Algorithm junkie
Perl Mongers Capital Federal (http://cafe.pm.org/)
GNU/Linux User Group - FCEyN - UBA (http://glugcen.dc.uba.ar/
Hi all. I want to say that xWiki looks great!
I'm pretty sure i have it installed correctly and integrated with my postgresdB... There is one weird thing happening though.
There is no "Register" button on my site. But in the admin HOWTO, it says to go to global rights and edit the xwikiguest account.
But there are no accounts to edit and no button to add accounts :-)
Sorry for the noob questions!!!!
-Rob Shelby
> Is there any specific permission needed to make the lucene plugin work?
>
> I did a lot of changes to the default permissions. Now, some time later, I
> enabled the lucene plugin, but it only works correctly for admin users.
>
> For all other users, the correct number of search results is indicated,
> but the results themselves are not shown, even though I am searching for
> stuff that exists in spaces the users have access to.
It's related to the LuceneSearch page. If I use the snipped from the
Code/LucenePlugin page, it works.
Hi
Is there any specific permission needed to make the lucene plugin work?
I did a lot of changes to the default permissions. Now, some time later, I
enabled the lucene plugin, but it only works correctly for admin users.
For all other users, the correct number of search results is indicated,
but the results themselves are not shown, even though I am searching for
stuff that exists in spaces the users have access to.
Thanks,
Tobias
Hi
I am getting my users from ldap and I couldn't figure out how to deny
access to the user profile pages.
How can I restrict write access so that no user can change his profile
properties?
Thanks,
Tobias
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.1.2.
This is a bug fix release following the release of XWiki Platform
1.1.2. This release also introduce experimental new rights management
system (not active by default).
Bugs fixed in 1.1.2:
* Impossible to translate page in 1.1.1.
* Error while importing a XAR containing XWiki.XWikiServerClass
object(s) in a non-virtual wiki.
* Issue in EditAction which allows to create a bad translation state.
* EditTranslations panel does not handle empty default language properly.
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise112
Thanks
-The XWiki dev team
> The XWiki development team is pleased to announce the release of XWiki
> Enterprise 1.1.2.
Great news!
In the light of the changes in the user/group administration, would it be
possible to provide a list (for this and then for all subsequent releases)
of wiki pages that changed from the last release?
That would make it very easy to upgrade by importing a new .xar.
Thanks,
Tobias
Is there a function similar to this ("would it make sense to generate a
function similar to this")
com.xpn.xwiki.api.XWiki.getURL(java.lang.String fullname,
java.lang.String action)
that instead of generating a link gets the rendered content for the
specified content for the given action:
getRenderedContent(String fullName, String action)
I'm trying to render a class instance in the "inline" action context,
in order to display its edit form. I do understand that there is a
function com.xpn.xwiki.XWikiContext.setAction(String action), but I'm
unclear of how I can request a particular Page in the context that I
can set this way. The provided
com.xpn.xwiki.api.Document.getRenderedContent() function does not
allow to specify an action parameter.
I've been trying to find a solution for 10 hours now... maybe I'm just blind :-)
Thanks in advance,
Andreas