Hi all,
I have configured xwiki with LDAP authentication and kerberos SSO.
When I use a browser without automatic Kerberos SSO, I get a keberos login page. When I fill in username and password manually it works great.
But when I set the browser to use automatic logon, I get the xwiki login page! (at least in FireFox, IE says “cannot show page”)
I get the same results when I manually login with “username@DOMAIN” and “password”. So I think the domain part is used in the automatic logon. (and is the actual problem…)
I see there is java code that strips the @DOMAIN part from the username. But I have no idea how or where to implement this. I hope some can help me!
Mark
Hello,
I've been using the Tabs Macro [1], and have some feedback on it.
First a very positive because I really like that macro ;-)
But ... :
- in extension page [1], it is said that it's not compatible with 4.x,
though I use it without any issue on a 4.4.1 instance.
- only issue I have (already with XE 3.x) is that several empty lines are
added BEFORE the tabs.
The empty lines consist of 5 lines of :
<div class="wikimodel-emptyline"></div>
To fix the issue, I updated the Macro.TabsMacro macro code, there was a
misplaced empty line in it:
///// BEGIN //////
{{velocity}}
$xwiki.jsx.use("Macro.TabsMacro")
#set ($tabsSortedMapString = $context.macro.params.idsToLabels)
## split incoming string into 2 velocity arrays
#set ($tabMapEntriesStringArray = $tabsSortedMapString.split(','))
#set( $tabIdsArray = [])
#set( $tabNamesArray = [])
#foreach($tabEntryString in $tabMapEntriesStringArray )
#if ("$!tabEntryString" == "" )
## ignore null or empty (see
http://wiki.apache.org/velocity/CheckingForNull)
#else
#set ($tabEntryArray = $tabEntryString.trim().split('='))
#if ($tabEntryArray.size()!=2)
{{error}}Parameter $tabEntryString is not a valid key=value
pair in the provided map: $tabsSortedMapString{{/error}}
#else
#set ($addResult =
$tabIdsArray.add($tabEntryArray.get(0).trim()))
#set ($addResult =
$tabNamesArray.add($tabEntryArray.get(1).trim()))
#end
(*)
#end
#end
## generate tabs (**)
{{html}}
<div class="floatcontainer">
///// END /////
I had to remove line marked with (*), and add 2 empty lines right after
(**). This result in having only 1 empty line added before the tabs, which
is not perfect but better.
As I didn't find a JIRA project for this macro, I'm posting it here ...
BR,
Jeremie
[1] http://extensions.xwiki.org/xwiki/bin/view/Extension/Tabs+Macro
Hi, I'm setting up a community research project focussing on histories
of activism in New Zealand. we are unfunded and not for profit. I
would like to try co-ordinating the community and share everyones
research through a wiki, can I have a a wiki hosted on your community
farm please.
User name: Melissalaing
Site name: Dissenting-Histories
Thanks
Melissa Laing
melissa(a)melissalaing.com
www.melissalaing.comwww.universitywithoutconditions.ac.nz
Hi!
Try to check MySQL limitations (max_allowed_packet) and/or web server in front of Tomcat (if present). Hope it helps.
Вторник, 5 марта 2013, 16:38 -03:00 от Marcelo Vaz <vaz.marcelo(a)gmail.com>:
>Folks,
>
>Has anyone faced the same issue?
>
>My config:
>Mysql 5.1
>Tomcat6
>XEM WAR package 4.5.1 installed manually
>File system storage enabled on installation, so no need to port from
>database storage.
>XWikiPreferences max upload size changed to 1Gb (1073741824 bytes).
>
>Details of the issue:
>It doesn't matter if I try to attach on the main wiki on any
>workspace. The result is the same:
>The upload progress to around 1Mb. After retring for 1 or 2 times the
>following error message is displayed:
>"An error occured while uploading <file>..."
>
>Here my xwiki.cfg (without the comments to make it short):
>xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0, xwiki/2.1, xhtml/1.0,
>html/4.01, plain/1.0, docbook/4.4
>xwiki.encoding=UTF-8
>xwiki.section.edit=1
>xwiki.section.depth=2
>xwiki.backlinks=1
>xwiki.tags=1
>xwiki.store.attachment.hint=file
>xwiki.store.attachment.versioning.hint=file
>xwiki.store.attachment.recyclebin.hint=file
>xwiki.store.cache=0
>xwiki.store.migration=0
>xwiki.store.migration.databases=all
>xwiki.virtual=1
>xwiki.virtual.redirect= http://127.0.0.1:9080/xwiki/bin/Main/ThisWikiDoesNotExist
>xwiki.inactiveuser.allowedpages=
>xwiki.authentication.validationKey=totototototototototototototototo
>xwiki.authentication.encryptionKey=titititititititititititititititi
>xwiki.authentication.cookiedomains=
>xwiki.authentication.logoutpage=(/|/[^/]+/|/wiki/[^/]+/)logout/*
>xwiki.authentication.unauthorized_code=200
>xwiki.editcomment=1
>xwiki.editcomment.mandatory=0
>xwiki.authentication.ldap.server=127.0.0.1
>xwiki.authentication.ldap.port=389
>xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP
>xwiki.authentication.ldap.bind_pass={1}
>xwiki.authentication.ldap.base_DN=
>xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,email=mail
>xwiki.authentication.ldap.update_user=1
>xwiki.authentication.ldap.trylocal=1
>xwiki.defaultskin=colibri
>xwiki.defaultbaseskin=colibri
>xwiki.title.compatibility=1
>xwiki.plugins=\
> com.xpn.xwiki.monitor.api.MonitorPlugin,\
> com.xpn.xwiki.plugin.skinx.JsSkinExtensionPlugin,\
> com.xpn.xwiki.plugin.skinx.JsSkinFileExtensionPlugin,\
> com.xpn.xwiki.plugin.skinx.JsResourceSkinExtensionPlugin,\
> com.xpn.xwiki.plugin.skinx.CssSkinExtensionPlugin,\
> com.xpn.xwiki.plugin.skinx.CssSkinFileExtensionPlugin,\
> com.xpn.xwiki.plugin.skinx.CssResourceSkinExtensionPlugin,\
> com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin,\
> com.xpn.xwiki.plugin.feed.FeedPlugin,\
> com.xpn.xwiki.plugin.google.GooglePlugin,\
> com.xpn.xwiki.plugin.mail.MailPlugin,\
> com.xpn.xwiki.plugin.packaging.PackagePlugin,\
> com.xpn.xwiki.plugin.svg.SVGPlugin,\
> com.xpn.xwiki.plugin.charts.ChartingPlugin,\
> com.xpn.xwiki.plugin.fileupload.FileUploadPlugin,\
> com.xpn.xwiki.plugin.image.ImagePlugin,\
> com.xpn.xwiki.plugin.zipexplorer.ZipExplorerPlugin,\
> com.xpn.xwiki.plugin.lucene.LucenePlugin,\
> com.xpn.xwiki.plugin.diff.DiffPlugin,\
> com.xpn.xwiki.plugin.rightsmanager.RightsManagerPlugin,\
> com.xpn.xwiki.plugin.jodatime.JodaTimePlugin,\
> com.xpn.xwiki.plugin.scheduler.SchedulerPlugin,\
> com.xpn.xwiki.plugin.mailsender.MailSenderPlugin,\
> com.xpn.xwiki.plugin.activitystream.plugin.ActivityStreamPlugin, \
> com.xpn.xwiki.plugin.watchlist.WatchListPlugin, \
> com.xpn.xwiki.plugin.tag.TagPlugin
>xwiki.stats.default=0
>xwiki.plugin.image.cache.capacity=30
>_______________________________________________
>users mailing list
>users(a)xwiki.org
>http://lists.xwiki.org/mailman/listinfo/users
Kind regards,
Dmitry
Has anyone xwiki 4.5 with kerberos SSO working?
-----Oorspronkelijk bericht-----
Van: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] Namens Mark Jas
Verzonden: dinsdag 5 maart 2013 16:35
Aan: users(a)xwiki.org
Onderwerp: [xwiki-users] kerberos SSO -> strip domainname from username
Hi all,
I have configured xwiki with LDAP authentication and kerberos SSO.
When I use a browser without automatic Kerberos SSO, I get a keberos login page. When I fill in username and password manually it works great.
But when I set the browser to use automatic logon, I get the xwiki login page! (at least in FireFox, IE says "cannot show page")
I get the same results when I manually login with "username@DOMAIN" and "password". So I think the domain part is used in the automatic logon. (and is the actual problem...)
I see there is java code that strips the @DOMAIN part from the username. But I have no idea how or where to implement this. I hope some can help me!
Mark
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi everybody,
I have a problem with the breadcrumb feature. When I create a new page and
fill it with images or when I let it create through the import of an office
document, then, after saving it, it appears as an orphaned page and I can do
nothing to change it. After hitting the breadcrumb button in the editor the
correct tree appears, but after saving the page it is still an orphaned
page. This happens for me on XWiki Versions 3.0 and 4.3.1.
I reproduced it by creating a link to a new page. Then i clicked on the
link, which had the little questionmark, and added an image. After that I
saved it and even though the correct tree was shown while editting the page
it was saved as an orphaned page.
When I first write something on the empty page and save it and open the page
again in the editor and add an image and save it again the correct tree is
shown.
So my question is how can I "repair" the incorrect trees.
Regards,
Robert
--
View this message in context: http://xwiki.475771.n2.nabble.com/Newly-created-pages-with-attachments-are-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
How is posible to add new docextra tab with custom content on it (not global
- only for some pages)? For example, if I have some page with configured
content - I want to display this page as a new docextra tab.
I know, that it is possible to manage presentation of docextra tabs.
According to
http://www.xwiki.org/xwiki/bin/view/FAQ/How+to+control+order+of+tabs+at+bot…
I can write
#set ($docextras = [])
#set ($discard = $docextras.add(['Comments', 'comments',
$msg.get('docextra.comments'),
$doc.getObjects('XWiki.XWikiComments').size(), 'commentsinline.vm',
$msg.get('core.shortcuts.view.comments')]))
#set ($discard = $docextras.add(['Attachments', 'attachments',
$msg.get('docextra.attachments'), $doc.getAttachmentList().size(),
"attachmentsinline.vm$!{sortAttachmentsBy}",
$msg.get('core.shortcuts.view.attachments')]))
#set ($discard = $docextras.add(['History', 'history',
$msg.get('docextra.history'), -1, 'historyinline.vm',
$msg.get('core.shortcuts.view.history')]))
#set ($discard = $docextras.add(['Information', 'information',
$msg.get('docextra.information'), -1, 'informationinline.vm',
$msg.get('core.shortcuts.view.information')]))
Of course, I can add new tab, but if I trying like this (defined my page in
place of vm tempalate):
#set ($discard = $docextras.add(['test', 'test', $msg.get('test.info'), -1,
'MySpace.MyPage', $msg.get('test.info.shortcuts')]))
new tab created, but without any content ... MySpace.MyPage - contains
content which I want to show in additional tab.
How is possible to do it?
--
Thanks beforehand!
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/custom-content-as-a-new-docextra-tabs-tp7…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Folks,
Has anyone faced the same issue?
My config:
Mysql 5.1
Tomcat6
XEM WAR package 4.5.1 installed manually
File system storage enabled on installation, so no need to port from
database storage.
XWikiPreferences max upload size changed to 1Gb (1073741824 bytes).
Details of the issue:
It doesn't matter if I try to attach on the main wiki on any
workspace. The result is the same:
The upload progress to around 1Mb. After retring for 1 or 2 times the
following error message is displayed:
"An error occured while uploading <file>..."
Here my xwiki.cfg (without the comments to make it short):
xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0, xwiki/2.1, xhtml/1.0,
html/4.01, plain/1.0, docbook/4.4
xwiki.encoding=UTF-8
xwiki.section.edit=1
xwiki.section.depth=2
xwiki.backlinks=1
xwiki.tags=1
xwiki.store.attachment.hint=file
xwiki.store.attachment.versioning.hint=file
xwiki.store.attachment.recyclebin.hint=file
xwiki.store.cache=0
xwiki.store.migration=0
xwiki.store.migration.databases=all
xwiki.virtual=1
xwiki.virtual.redirect=http://127.0.0.1:9080/xwiki/bin/Main/ThisWikiDoesNotExist
xwiki.inactiveuser.allowedpages=
xwiki.authentication.validationKey=totototototototototototototototo
xwiki.authentication.encryptionKey=titititititititititititititititi
xwiki.authentication.cookiedomains=
xwiki.authentication.logoutpage=(/|/[^/]+/|/wiki/[^/]+/)logout/*
xwiki.authentication.unauthorized_code=200
xwiki.editcomment=1
xwiki.editcomment.mandatory=0
xwiki.authentication.ldap.server=127.0.0.1
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.base_DN=
xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,email=mail
xwiki.authentication.ldap.update_user=1
xwiki.authentication.ldap.trylocal=1
xwiki.defaultskin=colibri
xwiki.defaultbaseskin=colibri
xwiki.title.compatibility=1
xwiki.plugins=\
com.xpn.xwiki.monitor.api.MonitorPlugin,\
com.xpn.xwiki.plugin.skinx.JsSkinExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.JsSkinFileExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.JsResourceSkinExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.CssSkinExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.CssSkinFileExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.CssResourceSkinExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin,\
com.xpn.xwiki.plugin.feed.FeedPlugin,\
com.xpn.xwiki.plugin.google.GooglePlugin,\
com.xpn.xwiki.plugin.mail.MailPlugin,\
com.xpn.xwiki.plugin.packaging.PackagePlugin,\
com.xpn.xwiki.plugin.svg.SVGPlugin,\
com.xpn.xwiki.plugin.charts.ChartingPlugin,\
com.xpn.xwiki.plugin.fileupload.FileUploadPlugin,\
com.xpn.xwiki.plugin.image.ImagePlugin,\
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerPlugin,\
com.xpn.xwiki.plugin.lucene.LucenePlugin,\
com.xpn.xwiki.plugin.diff.DiffPlugin,\
com.xpn.xwiki.plugin.rightsmanager.RightsManagerPlugin,\
com.xpn.xwiki.plugin.jodatime.JodaTimePlugin,\
com.xpn.xwiki.plugin.scheduler.SchedulerPlugin,\
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin,\
com.xpn.xwiki.plugin.activitystream.plugin.ActivityStreamPlugin, \
com.xpn.xwiki.plugin.watchlist.WatchListPlugin, \
com.xpn.xwiki.plugin.tag.TagPlugin
xwiki.stats.default=0
xwiki.plugin.image.cache.capacity=30