Hi all,
I have a question about case sensitivity of usernames in the context of
an LDAP authentication. As far as I understand, LDAP directories are
mostly case insensitive (reference: 'A note about case sensitivity in
LDAP' [1]). XWiki usernames, however, are case sensitive. In order to
avoid any ambiguity with usernames, we are considering to use only
lowercase usernames. Is there a way to force XWiki to use the username
as it is stored in the LDAP directory, case-wise?
The need seems to be marked as fixed at [2]. However, when doing tests
with OpenLDAP, I notice the following (with XWiki 6.4.2):
- Context: a user with uid 'aliddell' is present in the LDAP directory.
- Logging in with username 'ALIDDELL' succeeds and a user
'XWiki.ALIDDELL' gets created (while we'd like to get 'XWiki.aliddell').
- Subsequent logins with other cases get bound to the existing login
'XWiki.ALIDDELL'.
I understand that we may rewrite the username in JavaScript but that
would work only with form-based auth. Should we write our own
LDAPAuthService to meet the need ? Or would you have other suggestions?
[1] http://www.zytrax.com/books/ldap/ch2/
[2] http://jira.xwiki.org/browse/XWIKI-238
Thanks a lot,
Kind regards,
Stéphane
--
Stéphane Laurière
CTO OW2 www.ow2.org
+33 645 816 202 @slauriere
Hello,
I am trying to build XWiki from source using 'mvn clean install'
I am getting errors at
xwiki-platform/xwiki-platform-core/xwiki-platform-mail/xwiki-platform-mail-send/xwiki-platform-mail-send-default/src/test/java/org/xwiki/mail/internal/FileSystemMailContentStoreTest.deleteMailStore:78
The errors are of the form:
saveMessageWithCustomMessageId(org.xwiki.mail.internal.FileSystemMailContentStoreTest)
java.io.IOException: Unable to delete directory
These exceptions cause several JUnit tests to fail, and thus I cannot
finish building the project.
Any ideas of why this directory and the files in it cannot be deleted? It
seems to be trying to delete some temporary files that are created during
the build.
Thanks,
J
Hello,
When I'm on the search page of XWiki, every time I click on title, date, etc. (in order by), is added a blank line on the page. This causes the search box down.
In fact, by clicking on the sort order <p> tags of the page is duplicated. The same happens if I click on the facets,
http://localhost:8080/xwiki-enterprise-web-7.4.4/bin/view/Main/Search?text=…
Regards,Julio
Hi,
I have a use case where I am creating command documentation and am using a
template that looks roughly like this.
Page: Command Name One
h1. Command Name One
h2. Usage
h2. Options
h2 Command Details
h2 Troubleshooting
Page: Command Name Two
h1. Command Name Two
h2. Usage
h2. Options
h2 Command Details
h2 Troubleshooting
I have about 20 commands that I have documented in this template.
The issue is when you include or display them on one page and add a table
of contents the macro renders correctly but the links for the duplicate h2
records all link to the first occurrence.
Does anyone have a suggestion on how to fix this? I would like to keep them
on separate pages but the way its looking now ill have to merge them down
to a single page for the h2 links to work throughout the document.
Thanks in advance,
Patrick
Thanks Thomas, my previous issue was a problem when I imported the db to the new server.
After the migration, I got this error.
Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.
I searched but I cant find where to set right for the velocity macro.
Can you help me a bit please ?
Sébastien
Resending as plaintext
Hi All
Hopefully someone can help with this issue.
We are running 8.1 and some users are not able to see the “create page” button. This is what I am expecting:
http://pasteboard.co/6y8jirpqd.png
Instead, the user sees this:
http://pasteboard.co/6y9FK2KQT.png
So I assumed it must be a permissions issue. So I checked that the Group had the correct permissions to Edit (in this case I am using the Sandbox as an example, but it applies to all other top level pages – what were once spaces).
As you can see below, the XWikiAllGroup has View and Edit permissions and the user can certainly see and edit the page. But I was sure that having “Edit” also meant the ability to “add” pages. If “adding” is a separate permission, please tell me where I can find this.
http://pasteboard.co/6yZBCg4ye.png
I have also tried giving the user directly ALL the permissions and still the user doesn’t get the “add” button. Yet if I browse directly to http://xwiki.local:8080/xwiki/bin/create/Sandbox/ I get the create page and I can successfully create/edit/save the page.
I have also tried:
• Giving all permissions to all the groups the user is a member of
• Different combinations of different groups
• Removing permissions for all groups and just giving the user permission directly
• Looking through the mailing list for any reported issues (though it was a quick browse so I may have missed it).
• Checked that I do not have any overriding *.vm files attached to the skin that would cause this
The next step will be to upgrade to 8.2 to see if this resolves it, but I am not hopeful. Any help would be sincerely appreciated. Thanks in advance.
Any help please?
Kind regards,
Mahomed Hussein
Custodian Data Centre
Email: Mahomed(a)CustodianDC.com
http://www.CustodianDC.com
Hello-
I am a new user and I have a question regarding changing the default method
of numbering used for numbered lists. I am attempting to use xwiki to store
our company policy, which as of now is kept in a series of individual
documents. The difficulty is that management is insistent that I maintain
the current numbering schema used for numbered lists which is in the format:
A. Item One
1. Sub-Item 1
a. Sub-Sub Item 1
While I can do so manually using the xwiki syntax this is a great deal of
work when dealing with dozens of lists within hundreds of policies. In
addition I would like to make it as easy as possible for whomever comes
after me. I believe that the css code for something like this would be
something along the lines of:
ol {list-style-type:upper-alpha;}
ol ol {list-style-type:decimal;}
ol ol ol {list-style-type:lower-alpha;}
but I am uncertain as to whether this is the proper method of implementing
this change, and if so am uncertain as to where that code would go. Any help
would be appreciated.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Question-regarding-changing-default-forma…
Sent from the XWiki- Users mailing list archive at Nabble.com.
To migrate my XWiki from 7.0.1 to 8.2.1, I followed those steps :
cd /glassfish4/glassfish/domains/domain1/applications/xwiki-enterprise-web-7.0.1/\r
tar -jcvf /backup/xwiki.tar.bz2 /glassfish4/glassfish/domains/domain1/applications/xwiki-enterprise-web-7.0.1/WEB-INF/hibernate.cfg.xml /glassfish4/glassfish/domains/domain1/applications/xwiki-enterprise-web-7.0.1/WEB-INF/xwiki.cfg /glassfish4/glassfish/domains/domain1/applications/xwiki-enterprise-web-7.0.1/WEB-INF/xwiki.properties /glassfish4/glassfish/domains/domain1/applications/xwiki-enterprise-web-7.0.1/WEB-INF/classes/logback.xml /glassfish4/glassfish/domains/domain1/applications/xwiki-enterprise-web-7.0.1/WEB-INF/observation/*
mysqldump --add-drop-database --all-databases > /backup/xwiki.sql
Then I restore dit back on the next server :
mysql -e "SET FOREIGN_KEY_CHECKS=0;"
mysql -e "CREATE DATABASE IF NOT EXISTS xwiki DEFAULT CHARACTER SET utf8;"
mysql xwiki --user=root -p < xwiki.sql
mysql -e "SET FOREIGN_KEY_CHECKS=1;"
reboot
I set the right options in the xwiki.cfg but I got this problem after the migration... :(
http://pastebin.com/cS8Th8c4
Anyone can tell me what am I doing wrong ?
Should I update to an older version before upgrading to 8.2.1 ?
Sebastien