Hi
I have attached a file named settings.xml and I now want to link to it.
How do I do that?
[settings.xml] doesn't work, neither does [settings\.xml]
Thanks,
Tobias
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