Hi,
I installed xwiki on WebSphere/Oracle environment.
But search function does not work properly.. It just responds as "Error 500: ".
In the log file I saw the following exceptions (I didn't paste all of
the stack trace)
It seems Lucene does not work, and there is also a datatypes related
ORACLE problem.. I'm not sure whether they are related..
Any idea?
thanks,
Tamer
PS:
XWiki version is : 1.4.1.10194
2008-08-01 21:13:51,373 [Lucene index rebuilder thread] [Lucene Index
Rebuilder] ERROR lucene.IndexRebuilder - Error in lucene
rebuild thread
java.lang.NullPointerException
at com.ibm.ws.webcontainer.srt.SRTServletRequest$SRTServletRequestHelper.access$1600(SRTServletRequest.java:2232)
at com.ibm.ws.webcontainer.srt.SRTServletRequest.getQueryString(SRTServletRequest.java:1207)
at com.xpn.xwiki.web.XWikiServletRequest.getQueryString(XWikiServletRequest.java:193)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.getKey(DefaultXWikiRenderingEngine.java:335)
....
2008-08-01 21:14:18,646 [Lucene index updating thread] [Lucene Index
Updater] ERROR lucene.ObjectData - error extracting
fulltext for do
cument xwiki:Main.AllDocs.default.objects
java.lang.ClassCastException: com.xpn.xwiki.objects.StringProperty
incompatible with com.xpn.xwiki.objects.ListProperty
at com.xpn.xwiki.objects.BaseCollection.getListValue(BaseCollection.java:327)
.....
2008-08-01 21:13:50,795 [http://wiki.test/bin/view/Main/] [Default :
0] ERROR impl.StatsUtil - Failed to search visit
object in t
he database from cookie
com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception while
searching documents with sql from VisitStats as obj where obj.cookie=?
and obj.e
ndDate > ? order by obj.endDate desc
Wrapped Exception: could not execute query
at com.xpn.xwiki.store.XWikiHibernateStore.search(XWikiHibernateStore.java:2121)
at com.xpn.xwiki.store.XWikiHibernateStore.search(XWikiHibernateStore.java:2056)
.....
Wrapped Exception:
java.sql.SQLException: ORA-00932: inconsistent datatypes: expected - got CLOB
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
jmsween wrote:
>
> I have configured XWiki to run with tomcat 6 and sql server 2000. I
> changed my hibernate.cfg.xml file. I added the xwiki.mssql.hbm.xml file
> to my web-inf\classes directory. i downloaded the jdbc driver and added
> it to my tomcat lib directory. however, when i click on the
> administration link only the following error is displayed:
>
> Error number 4001 in 4: Error while parsing velocity page
> /templates/admin.vm Wrapped Exception: Failed to evaluate content with id
> [/templates/admin.vm]
>
> this means I can not get to import/export page to import the default xwiki
> xar.
>
> details for the error are as follows:
>
> Error number 4001 in 4: Error while parsing velocity page
> /templates/admin.vm
> Wrapped Exception: Failed to evaluate content with id
> [/templates/admin.vm]
> com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
> velocity page /templates/admin.vm
> Wrapped Exception: Failed to evaluate content with id
> [/templates/admin.vm]
> at
> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:112)
> at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1596)
> at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:125)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
> at
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
> at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> at java.lang.Thread.run(Unknown Source)
>
>
> Wrapped Exception:
>
> org.apache.velocity.exception.MethodInvocationException: Invocation of
> method 'searchDocuments' in class com.xpn.xwiki.api.XWiki threw exception
> com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception while
> searching documents with SQL [select distinct doc.space, doc.name from
> XWikiDocument as doc where 1=1]
> Wrapped Exception: could not resolve property: space of:
> com.xpn.xwiki.doc.XWikiDocument [select distinct doc.space, doc.name from
> com.xpn.xwiki.doc.XWikiDocument as doc where 1=1] @
> /templates/admin.vm[78,17]
> at
> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286)
> at
> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
> at
> org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:419)
> at
> org.apache.velocity.runtime.parser.node.ASTLTNode.evaluate(ASTLTNode.java:79)
> at
> org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:64)
> at
> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:86)
> at
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
> at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
> at
> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
> at
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
> at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
> at
> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
> at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
> at
> org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
> at
> org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
> at
> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:107)
> at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1596)
> at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:125)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
> at
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
> at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> at java.lang.Thread.run(Unknown Source)
> Caused by: com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception
> while searching documents with SQL [select distinct doc.space, doc.name
> from XWikiDocument as doc where 1=1]
> Wrapped Exception: could not resolve property: space of:
> com.xpn.xwiki.doc.XWikiDocument [select distinct doc.space, doc.name from
> com.xpn.xwiki.doc.XWikiDocument as doc where 1=1]
> at
> com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNamesInternal(XWikiHibernateStore.java:2226)
> at
> com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNames(XWikiHibernateStore.java:2190)
> at
> com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNames(XWikiHibernateStore.java:2641)
> at
> com.xpn.xwiki.store.XWikiCacheStore.searchDocumentsNames(XWikiCacheStore.java:244)
> at com.xpn.xwiki.api.XWiki.searchDocuments(XWiki.java:371)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
> at
> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
> ... 43 more
>
>
--
View this message in context: http://n2.nabble.com/Error-while-parsing-velocity-page--templates-admin.vm-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi there,
is there a way XWiki can handle userlogins from different domains?
The users are members of several subdomains, eg: sub1.somedomain.dom,
sub2.somedomain.dom, sub3.somedomain.dom, ......
The users from all of these domains need to login. It works perfectly for
one domain (if I configure it for example for sub1.somedomain.dom). So how
can I config it for more than one domains?
Or is there a way to import a userlist from the active directory? I think I
have seen in another post that someone else needs such a feature too, bit it
is not implemented right now - is this correct?
Thank you very much in advance!!
Steve
--
View this message in context: http://www.nabble.com/LDAP-Multiple-Domains-tp18130322p18130322.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
On Aug 11, 2008, at 10:41 AM, Brian Burns wrote:
> Vmassol,
>
> Which particular .js file should I look at editing? I assume it one
> of them
> in the tiny_mce folder?
I'm not sure which one it is but you could have a look at wiki_editor/
plugins/core.js. This is the file that does most of the conversions if
not all.
Thanks
-Vincent
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
> Behalf Of
> Vincent Massol
> Sent: 09 August 2008 13:19
> To: XWiki Users
> Subject: Re: [xwiki-users] Attach files
>
> Hi Brian,
>
> On Aug 6, 2008, at 10:40 AM, Brian Burns wrote:
>
>> Vincent,
>>
>> Thank you for your suggestion, I have actually tried a different
>> method to
>> get it working. Instead of defining the image in the original
>> document as
>> {image:someimage.PNG} I have given the macro the documents name i.e.
>> {image:someimage.PNG|document=Main.SomeDocument}. This means that
>> the images
>> appear when I now view them in the new page by sections.
>
> Yep, that's exactly what I was suggesting :)
>
>> Is there any way to make the WYSIWYG Image tool insert all images in
>> the
>> second format?
>
> Not without making some modifications to the js file...
>
> Thanks
> -Vincent
>
>> -----Original Message-----
>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
>> Behalf Of
>> Vincent Massol
>> Sent: 05 August 2008 21:43
>> To: XWiki Users
>> Subject: Re: [xwiki-users] Attach files
>>
>> Hi Brian,
>>
>> On Aug 5, 2008, at 10:41 AM, Brian Burns wrote:
>>
>>> Hi guys,
>>>
>>>
>>>
>>> I am using some code to view selected sections from one wiki page in
>>> another
>>> results page. However, if the sections have an image the image is
>>> not
>>> displayed in the new image. I assume this is because it looks for
>>> an
>>> attachment on the new page. In order to fix this my stop gap
>>> solution is to
>>> temporarily attach all other attachments to the page.
>>>
>>>
>>>
>>> 1) I can generate a list of attachments which I loop through
>>> using
>>> #foreach($attachment in $attachments), could someone please tell me
>>> how to
>>> attach the $attachment to the current document?
>>>
>>> 2) Can anyone suggest a better solution than this? My problem
>>> is that
>>> this solution would probably work for now but it simply won't be
>>> scalable
>>> when there are many other documents with many other attachments.
>>
>> Just use the attach macro and pass to it the name of the document
>> containing the attachments. Check the documentation for the attach
>> macro on code.xwiki.org for more details.
>>
>> Thanks
>> -Vincent
>>
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
I am using xWiki behind an apache server and using Mod proxy to proxy
https requests to the tomcat server.
The problem is that xWiki rewrites the urls to http://host... so they
have to get bounced off the http default server host configuration that
redirects them to https://host.... Therefore the posts do not work
because the redirect breaks the session.
How can I turn off the url rewriting in xwiki so that the urls use the
relative reference not the full absolute reference? Or is there a way
to tell it to rewrite urls with the https (not http) protocal?
Thanks in advance for any help,
Doug Culnane
SNAP Consulting
Systemnahe Anwendungsprogrammierung und Beratung GmbH
Altmannsdorferstra?e 23A
1120 Wien, Osterreich
www.snapconsult.com
Firmenbuch: FN193058i
Firmenbuchgericht: Handelsgericht Wien
UID-Nr.: ATU48838904
DVR-Nr.: 1049933
Wichtiger Hinweis: Diese E-Mail ist fur den Gebrauch durch die Person oder die Firma/Organisation bestimmt, die in der Empfangeradresse benannt ist und unterliegt u. U. dem Berufsgeheimnis oder anderweitigen rechtlichem Schutz. Wenn Sie nicht der angegebene Empfanger sind, nehmen Sie bitte zur Kenntnis, dass Weitergabe, Kopieren, Verteilung oder Nutzung des Inhalts dieser E-Mail-Ubertragung unzulassig ist. Falls Sie diese E-Mail irrtumlich erhalten haben, benachrichtigen Sie den Absender bitte unverzuglich.
Important Note: This e-mail may contain trade secrets or privileged, undisclosed or confidential information or otherwise protected by work product immunity or other legal rules. If you have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal.
Hi Vincent
Thanks for your reply.
> Anchors are automatically created for sections. Have a look at the
source of the page in your browser and you'll see it.
I am not seeing this. Our sections are defined as heading level 5. Do we
need to use a higher heading level for this to take place? Will we still
get the issue with the anchors disappearing if they are automatically
created as you mention?
> We have a known important bug with the current wysiwyg editor when the
content has HTML in it. For now please don't edit HTML in the wysiwyg
editor. We're working hard to fix this and lots of other problems with
our new WYSIWYG editor (a first beta version should be available at
the end of September).
This is a bit of a showstopper for us, as the idea is that our users
will almost certainly use the wysiwyg editor, which obviously doesn't
fly if any anchors we enter disappear. Guess we'll have to wait til
September to add internal links.
Regards
Michael
This e-mail message is intended for the above named recipient(s) only.
It may contain confidential information that is privileged. If you are not
the intended recipient, you are hereby notified that any dissemination,
distribution or copying of this e-mail and any attachment(s) is strictly prohibited.
If you have received this e-mail by error, please immediately notify the sender by
replying to this e-mail and deleting the message including any attachment(s) from your system.
Thank you in advance for your cooperation and assistance.
Hi all,
Before I start down this path on my own, I thought I would check to see
if anybody has done any work with XWiki's Calendar application. I'm
specifically planning to add start/end times to events and, I hope, the
ability to export an event to Outlook Calendar format -- either by
downloading a generated file and opening it using Outlook, or by
generating an Email that's sent to the user like normal meeting
requests.
Has anybody tried anything similar? I don't want to reinvent the wheel
if I don't have to. (And I may not be able to in the first place!)
Thanks!
Jamie
Hello XWiki users,
I have a problem getting OpenLDAP to work with XWiki 1.5.11446. For some strange reason i cannot login into xwiki from an account located in OpenLDAP and no error messages are produced. The login page just refreshes itself and nothing else happens. This problem started when I migrated Xwiki 1.4 to 1.5. As solution, I downgraded back to 1.4 and everything seems to work again. Is the LDAP plugin broken in 1.5? I have copy-pasted a sample ldif of my OpenLDAP as well as the xwiki.cfg settings so that someone can give me a hint on where the problem could be.
Many thanks in advanced.
Richard
------------------------------------------------------ BEGIN ldif-------------------------------------------------------------------
dn: dc=mydomain
objectClass: organization
objectClass: dcObject
dc: mydomain
o: mydomain
dn: ou=Users,dc=mydomain
objectClass: organizationalUnit
ou: Users
dn: ou=People,ou=Users,dc=mydomain
objectClass: organizationalUnit
ou: People
dn: ou=Groups,dc=mydomain
objectClass: organizationalUnit
ou: Groups
dn: ou=Machines,ou=Users,dc=mydomain
objectClass: organizationalUnit
ou: Machines
dn: ou=Domains,dc=mydomain
objectClass: organizationalUnit
ou: Domains
dn: sambaDomainName=SCRAPPY,ou=Domains,dc=mydomain
objectClass: sambaDomain
sambaAlgorithmicRidBase: 1000
sambaSID: S-1-5-21-4074884656-2525905897-914379862
sambaDomainName: SCRAPPY
sambaMinPwdLength: 8
dn: cn=domainUsers,ou=Groups,dc=mydomain
objectClass: sambaGroupMapping
objectClass: posixGroup
displayName: Domain Users
sambaGroupType: 2
sambaSID: S-1-5-21-4074884656-2525905897-914379862-513
description: Domain Users
gidNumber: 2001
cn: domainUsers
memberUid: richi
dn: cn=domainGuests,ou=Groups,dc=mydomain
objectClass: sambaGroupMapping
objectClass: posixGroobjectClass: posixGroup
displayName: Domain Guests
sambaGroupType: 2
sambaSID: S-1-5-21-4074884656-2525905897-914379862-514
description: Domain Guests
gidNumber: 2002
cn: domainGuests
dn: cn=domainComputers,ou=Groups,dc=mydomain
objectClass: sambaGroupMapping
objectClass: posixGroup
displayName: Domain Computers
sambaGroupType: 2
sambaSID: S-1-5-21-4074884656-2525905897-914379862-515
description: Domain Computers
gidNumber: 2003
cn: domainComputers
dn: uid=richi,ou=People,ou=Users,dc=mydomain
objectClass: sambaSamAccount
objectClass: shadowAccount
objectClass: posixAccount
objectClass: inetOrgPerson
sambaHomeDrive: U:
sambaDomainName: SCRAPPY
sambaAcctFlags: [XU ]
displayName: Richi
sambaPrimaryGroupSID: S-1-5-21-4074884656-2525905897-914379862-512
sambaSID: S-1-5-21-4074884656-2525905897-914379862-5000
sambaLMPassword: <hidden>
sambaNTPassword: <hidden>
sambaPwdLastSet: 1218502167
shadowWarning: 10
shadowInactive: 10
shadowMin: 1
shadowMax: 365
homeDirectory: /home/richi
loginShell: /bin/bash
uid: richi
cn: Richi
uidNumber: 2000
gidNumber: 2000
sn: Smith
givenName: Richi
shadowLastChange: 14105
userPassword: secret
dn: cn=domainAdmins,ou=Groups,dc=mydomain
cn: domainAdmins
description: Domain Admins
objectClass: sambaGroupMapping
objectClass: posixGroup
gidNumber: 2000
sambaSID: S-1-5-21-4074884656-2525905897-914379862-512
sambaGroupType: 2
displayName: Domain Admin
dn: ou=xwiki,ou=Groups,dc=mydomain
ou: xwiki
objectClass: top
objectClass: organizationalUnit
dn: cn=users,ou=xwiki,ou=Groups,dc=mydomain
cn: users
member: uid=richi,ou=People,ou=Users,dc=mydomain
objectClass: groupOfNames
objectClass: top
ou: xwiki
dn: cn=admins,ou=xwiki,ou=Groups,dc=mydomain
cn: admins
member: uid=richi,ou=People,ou=Users,dc=mydomain
ou: xwiki
objectClass: groupOfNames
objectClass: top
------------------------------------------------- END ldif ------------------------------------------------------------
------------------------------------------------- BEGIN xwiki.cfg ------------------------------------------------
#-# new LDAP authentication service
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
#-# Turn LDAP authentication on - otherwise only XWiki authentication
#-# 0: disable
#-# 1: enable
xwiki.authentication.ldap=1
#-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)
xwiki.authentication.ldap.server=localhost
xwiki.authentication.ldap.port=389
#-# LDAP login, empty = anonymous access, otherwise specify full dn
#-# {0} is replaced with the username, {1} with the password
xwiki.authentication.ldap.bind_DN=uid={0},ou=People,ou=Users,dc=mydomain
xwiki.authentication.ldap.bind_pass={1}
#-# Force to check password after LDAP connection
#-# 0: disable
#-# 1: enable
xwiki.authentication.ldap.validate_password=0
#-# only members of the following group will be verified in the LDAP
# otherwise only users that are found after searching starting from the base_DN
xwiki.authentication.ldap.user_group=cn=users,ou=xwiki,ou=Groups,dc=mydomain
#-# base DN for searches
xwiki.authentication.ldap.base_DN=ou=People,ou=Users,dc=mydomain
#-# Specifies the LDAP attribute containing the identifier to be used as the XWiki name (default=cn)
xwiki.authentication.ldap.UID_attr=uid
#-# [SINCE 1.5M1, XWikiLDAPAuthServiceImpl]
#-# Specifies the LDAP attribute containing the password to be used "when xwiki.authentication.ldap.validate_password" is set to 1
xwiki.authentication.ldap.password_field=userPassword
#-# [SINCE 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential LDAP groups classes. Separated by commas.
xwiki.authentication.ldap.group_classes=group,groupOfNames,groupOfUniqueNames,dynamicGroup
#-# [SINCE 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential names of the LDAP groups fields containings the members. Separated by commas.
xwiki.authentication.ldap.group_memberfields=member,uniqueMember
#-# retrieve the following fields from LDAP and store them in the XWiki user object (xwiki-attribute=ldap-attribute)
#-# ldap_dn=dn -- dn is set by class, caches dn in XWiki.user object for faster access
xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,fullname=displayName,email=mail
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# on every login update the mapped attributes from LDAP to XWiki otherwise thi
s happens only once when the XWiki account is created.
xwiki.authentication.ldap.update_user=1
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# mapps XWiki groups to LDAP groups, separator is "|"
xwiki.authentication.ldap.group_mapping=\
XWiki.XWikiAdminGroup=cn=admins,ou=xwiki,ou=Groups,dc=mydomain|\
XWiki.XWikiAllGroup=cn=users,ou=xwiki,ou=Groups,dc=mydomain
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# time in s after which the list of members in a group is refreshed from LDAP (default=3600*6)
#Every half an hour
xwiki.authentication.ldap.groupcache_expiration=1800
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# - create : synchronize group membership only when the user is first created
#-# - always: synchronize on every login
xwiki.authentication.ldap.mode_group_sync=always
#-# if ldap authentication fails for any reason, try XWiki DB authentication with the same credentials
xwiki.authentication.ldap.trylocal=0
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# SSL connection to LDAP server
#-# 0: normal
#-# 1: SSL
# xwiki.authentication.ldap.ssl=0
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# The keystore file to use in SSL connection
# xwiki.authentication.ldap.ssl.keystore=
#-# [SINCE 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The java secure provider used in SSL connection
# xwiki.authentication.ldap.ssl.secure_provider=com.sun.net.ssl.internal.ssl.Provider
--------------------------------------------------- END xwiki.cfg ---------------------------------------------------------
_________________________________________________________________
Get ideas on sharing photos from people like you. Find new ways to share.
http://www.windowslive.com/explore/photogallery/posts?ocid=TXT_TAGLM_WL_Pho…
Hi,
I have recently installed version 1.5 (on postgresql) and the "Prevent
unregistered users from viewing pages,.." options are not selectable. I need
to setup the Wiki so that it is private and does not accept new
registrations. The checkbox fields are not clickable, I have also tried a
fresh 1.6 install and I get the same behavior. Could someone please help me
to lock down the Wiki? I have searched for this but all the answers and
documentation seem to be out of date.
Thank You.
Hi List,
is it possible to deny certain file types as attachments?
E.g. deny .exe or application/executable? Or only allow Images?
Regards
Stefam
--
Stefan Völkel - Program Manager - Scalix - a Xandros Company
Platz der Einheit 1 - 60327 Frankfurt am Main - Germany
Office +49 69 97503 156 - Fax +49 69 97503 200 - Mobile +49 173 7 36 65
84