Hi All!
I've installed the xwiki in my company to use as az intranet
information center, but we've to use Active Directory authentication.
I set the encoding to UTF-8 everywhere like writen in documentation.
This is my relevant config:
xwiki.authentication.ldap=1
xwiki.authentication.ldap.trylocal=1
xwiki.authentication.ldap.server=172.16.1.165
xwiki.authentication.ldap.check_level=1
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.base_DN=dc=company,dc=intranet
xwiki.authentication.ldap.bind_DN=cn={0},ou=COMPANY,dc=company,dc=intranet
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.UID_attr=cn
xwiki.authentication.ldap.fields_mapping=name=cn,last_name=sn,first_name=givenName,fullname=displayName,mail=cn,ldap_dn=dn
xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=cn=UnixDBA,cn=users,dc=unixdba,dc=sysman,dc=intra
My questions:
1. the trylocal doesn't work for us, if a user doesn't exists in AD
then the authentication is failed, but if I change the
xwiki.authentication.ldap=0 then works fine to local users (MySQL)
2. because in our AD the CN-s looks like
cn={0},ou=COMPANY,dc=company,dc=intranet, but in the CN are hungarian
characters. If I try with a user whos name doesn't contain hungarian
characters the authentication is working fine, otherwise it fails :(
The sAMAcountName attribute is a good choise but I don't know how to
set up xwiki :(
Somebody have some idea how can I setting up this ones?
Best regards,
bzg
--
Zoltan Gyula Beck
Tel.: +36-70-328-9306
E-Mail: beckzg(a)gmail.com
Do you have spaces or periods in your sam account names? Or CN names? Which
ever you are using...
Philip Wright
Reports Analyst
ACS: BPS
Affiliated Computer Services, Inc
Affiliated Computer Services, Inc (ACS) Proprietary and Confidential
Information
This document (or any part thereof) may not be disseminated outside of ACS
in either electronic or physical form without specific authorization of the
office of the ACS Chief Information Security Officer. The information
included in this document represents no commitment by ACS to any other
party. The policies and standards described do not consider any country law
or other directive outside of the United States.
P Please consider the environment before printing this email
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Thomas Mortagne
Sent: Saturday, July 05, 2008 8:12 AM
To: XWiki Users
Subject: Re: [xwiki-users] internal error while using LDAP
Hi,
You should have some error log in xwiki.log or your container log file
depends of your installation.
On Sat, Jul 5, 2008 at 5:05 PM, Florian Rhomberg
<florian.rhomberg(a)nettania.net> wrote:
> Hi!
>
> I just try to configure user authentication by AD. After trying a
> while the system runs but if I try to use an AD User I get the
> information about an internal error with no more information. How can
> I get an information what goes wrong?
>
>
>
> Florian
>
> _______________________________________________
> 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
hey.
i am trying to modify the doctree jar in order to show the expanded tree.
private void buildDocumentTree(String parentName, List documentList,
DocumentTree treeList, XWikiContext context)
from what i can understand trom the above is that is loosing it's parent.
..have no idea why though..nohinder(a)yahoo.com
--
View this message in context: http://www.nabble.com/show-tree-on-the-n-level-modifying-in-the-doctree.jar…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
You should have some error log in xwiki.log or your container log file
depends of your installation.
On Sat, Jul 5, 2008 at 5:05 PM, Florian Rhomberg
<florian.rhomberg(a)nettania.net> wrote:
> Hi!
>
> I just try to configure user authentication by AD. After trying a while the
> system runs but if I try to use an AD User I get the information about an
> internal error with no more information. How can I get an information what
> goes wrong?
>
>
>
> Florian
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--
Thomas Mortagne
Hi!
I just try to configure user authentication by AD. After trying a while the
system runs but if I try to use an AD User I get the information about an
internal error with no more information. How can I get an information what
goes wrong?
Florian
Hi All,
I'm new to XWiki (and the list) and have a few questions. I'm
specifically needing help with the Virtual Wiki portion of things, but
that will be for a follow-up Email. The first thing I need to verify is
that I've got the base installation of things essentially correctly
configured.
Our webserver is Apache 2.0 with Java being served up by Resin on the
back end. I've installed XWiki Enterprise Manager 1.2 into its own
directory (/usr/local/www/xwiki) and created a separate Resin instance
for it (listening on port 6807). A portion of the XWiki Resin config
file looks like this:
<host id="xwiki.domain.dom" root-directory="/usr/local/www/xwiki/"
host-name="xwiki.domain.dom" host-alias="xwiki">
<web-app id="/" document-directory="/usr/local/www/xwiki/">
[...]
</web-app>
</host>
The Resin instance starts fine. I created a Virtual Host for it in
Apache as follows:
<VirtualHost MY_IP:80>
ServerName xwiki.domain.dom
ServerAlias xwiki
DocumentRoot /usr/local/www/xwiki/
ResinConfigServer localhost 6807
</VirtualHost>
The main problem I have is that I can't get the wiki to load. If I go to
http://xwiki/ or http://xwiki.domain.dom/ (internal server; don't bother
trying) -- I just get a directory listing of the XWiki files. If I click
on the "redirect" text file in the directory, it will work its magic and
send me to the welcome page for the wiki.
I haven't seen anything mentioned anywhere about that specific problem,
so I'm asking. Is it normal to have to add something like this to the
VirtualHost container:
RedirectMatch permanent ^/$ /redirect
In effect, doing two redirects on the initial root page load? Is there
another way I should be configuring things?
Sorry for the length. I just wanted to give a bit of background before I
asked, since I have a follow-up question or two regarding running
Virtual Wikis (ugh).
Thanks for listening.
-Jamie
XE 1.5M2, Tomcat 6.0, Oracle 10.2.
When I want to delete a page, I get that error :
Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not get next sequence value
com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while
hibernate execute
Wrapped Exception: could not get next sequence value
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1005)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1055)
at
com.xpn.xwiki.store.XWikiHibernateRecycleBinStore.saveToRecycleBin(XWikiHibernateRecycleBinStore.java:56)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3682)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3674)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5380)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5370)
at com.xpn.xwiki.web.DeleteAction.action(DeleteAction.java:85)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
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:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
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:175)
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:263)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Unknown Source)
Wrapped Exception:
java.sql.SQLException: ORA-02289: la séquence n'existe pas
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:743)
at
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
at
oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:799)
at
oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1037)
at
oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:839)
at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
at
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3316)
at
oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3361)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
at org.hibernate.id.SequenceGenerator.generate(SequenceGenerator.java:75)
at
org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:99)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
at
org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172)
at
org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
at
com.xpn.xwiki.store.XWikiHibernateRecycleBinStore$1.doInHibernate(XWikiHibernateRecycleBinStore.java:59)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:999)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1055)
at
com.xpn.xwiki.store.XWikiHibernateRecycleBinStore.saveToRecycleBin(XWikiHibernateRecycleBinStore.java:56)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3682)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3674)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5380)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5370)
at com.xpn.xwiki.web.DeleteAction.action(DeleteAction.java:85)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
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:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
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:175)
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:263)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Unknown Source)
Does anyone know what is the sequence needed ? That wiki has been
created from XE1.5M2 + Manager 1.2.
Gaëtan
Hi,
Please, would you like create the new wiki rcnthouare.myxwiki.org with the
below informations .
Thanks you
Best regards
J Grailard
jgrailard(a)free.fr <mailto:jgrailard@free.fr>
-----Message d'origine-----
De : Joel Grailard [mailto:jgrailard@free.fr]
Envoyé : jeudi 19 juin 2008 13:52
À : users(a)xwiki.org
Objet : myxwiki
Bonjour,
Je souhaite ouvrir un site sur le nouveau xwiki afin de remplacer le site
existant http://rcnthouare.xwiki.com <http://rcnthouare.xwiki.com/>
Mon user name est : rcnthouare
Le server name sera : rcnthouare.myxwiki.org
Et le_mail correspondant : jgrailard(a)free.fr
Par avance merci, je reste à votre disposition pour vous donner les
éventuels renseignements complémentaires.
Bien cordialement
J Grailard