Re: [xwiki-users] LDAP Authentication

2008-07-30 Thread Thomas Mortagne
On Wed, Jul 30, 2008 at 1:09 AM, Hari G [EMAIL PROTECTED] wrote:

 Sorry for the spam... I figured it out. I am posting it so that it is useful 
 for somebody else. A simple mistake cost me couple of days of work!

 The following line was commented out:
 xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl

 Everything worked fine when I uncommented it. It is kind of strange that the 
 user is getting authenticated without the authclass.

It's because by default XWiki core use the old LDAP authentication
service if ldap=1 in configuration (this for retro compatibility).


 Hari Gangadharan


 From: [EMAIL PROTECTED]
 To: users@xwiki.org
 Date: Tue, 29 Jul 2008 15:37:05 -0700
 Subject: Re: [xwiki-users] LDAP Authentication




   Error
   You are not allowed to view this document or perform this action.




 This is the message I get when the user logs in. If I have not imported the 
 enterprise-wiki.xar then this message is not shown. The user can edit pages. 
 However I guess the user is not created. After I import the xar file the 
 user cannot even view any page.

 Any ideas?
 Hari Gangadharan

  Date: Tue, 29 Jul 2008 01:48:03 -0700
  From: [EMAIL PROTECTED]
  To: users@xwiki.org
  Subject: Re: [xwiki-users] LDAP Authentication
 
 
  I have the exact same problem. The logged in user does not have any
  privileges and no account created for him. I suppose an account is
  automatically created for the logged in user. Am I wrong? If I register the
  user with any password then LDAP login works (I can use LDAP Password) and
  everything is OK. Otherwise user is logged in the id comes on the top right
  with the logout link but the profile page is also not there.
 
  Avinash, did you solve this issue?
 
  Hari Gangadharan
 
 
 
 
  Thomas Mortagne wrote:
  
   On Mon, Jun 30, 2008 at 4:59 AM, Avinash Gupta
   [EMAIL PROTECTED] wrote:
   Yes the name appears on top right corner, but doesn't appear in user
   list.
  
   The name at the top right corner is retrieved from user profile in the
   wiki so you definitely have the user somewhere in the space XWiki.
  
  
   Thomas Mortagne [EMAIL PROTECTED] 27/06/2008 6:18 pm 
   On Fri, Jun 27, 2008 at 2:35 AM, Avinash Gupta
   [EMAIL PROTECTED] wrote:
   Thanks for the reply Thomas,
  
  
  
   If you use the correct LDAP authenticator
   (xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl)
   and even if you use the old one AFAIK there is no way to configure
   LDAP in order to not create the user in XWiki, otherwise XWiki would
   not be able to manager rights, groups etc.
  
  
   This means no matter what if my LDAP Authentication is working then
   XWiki should be storing users in its database.
   My log file is clean. This is the only thing that I have in my log file
  
  
   2008-06-27 10:26:31,761
   [http://localhost:8080/xwiki/bin/view/Main/WebHome] [btpool0-7] INFO
   .AbstractXWikiMigrationManager  - No storage migration required since
   current version is [7351]
  
   My users are authenticating without a problem. I mean I can confirm 
   that
   its authenticating against LDAP but I can't find any users.
   xwiki-enterprise-web-1.4.1.war is the file that I downloaded. So I
   reckon the version is 1.4.1.
  
   When the users log in they only see a page which says
   You are not allowed to view this document or perform this action.
  
   After login, do you see the user's name in the upper right corner of the
   page ?
  
  
   When I log in as superadmin then I can create Wiki pages. Am I missing
   something here?
   BTW where does XWiki stores user information, I searched all my 
   database
   but wasn't able to find any table which may store user information.
  
   XWiki user are wiki pages in the XWiki space. If you login with
   toto, you can view the user profile at /xwiki/bin/view/XWiki/toto.
  
  
   Thanks,
   Avinash
  
   Thomas Mortagne [EMAIL PROTECTED] 26/06/2008 6:58 pm 
   Hi,
  
   On Thu, Jun 26, 2008 at 6:28 AM, Avinash Gupta
   [EMAIL PROTECTED] wrote:
   Hello All,
  
   I have installed XWiki in our environment using jetty and MS SQL
   Server.
   I have successfully configured authentication using LDAP but I don't
   see any users when I click on Users and Groups under Administration.
  
   I guess this is because XWiki just uses LDAP to authenticate but
   doesn't stores the users anywhere.
   I checked on mailing lists and found that few discussions where people
   have suggested to add following line in xwiki.cfg
  
  
   xwiki.authentication.createuser=ldap
  
   and XWiki will start storing users in his database.
  
   Did you looked at
   http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication ?
   All possible options are listed here (and I confirm that
   xwiki.authentication.createuser=ldap does not mean anything or at
   least now).
  
   If you use the correct LDAP authenticator
   

[xwiki-users] (no subject)

2008-07-30 Thread Brian Burns
Good Morning Community,

 

I am using the getContentOfSection method to display the content  of certain
sections of my wiki as I rudimentary type of search functionality. The line
of code used is $doc.getContentOfSection($item.getSectionNumber()). Is there
any way to display the sections without displaying their titles?

 

Also, is there any way to display images which are embedded within a
section.

 

Regards,

Brian

 

 

 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Xwiki Enterprise installation problem on Ubuntu Server 8.04 + Tomcat 5.5 + PostGreSQL 8.3

2008-07-30 Thread lukweb

Hi all,

I've got many problems to install Xwiki Enterprise on my Ubuntu Server 8.04.

I followed this official howto : 
http://www.howtoforge.com/xwiki-tomcat-mysql-debian-etch
http://www.howtoforge.com/xwiki-tomcat-mysql-debian-etch 

Then i've got some errors during the postgres database creation so i created
the database and the user xwiki through my webmin interface.

I finished the howto and i've got a blank page...

I've read the xwiki.log and i found an error : Caused by:
java.lang.UnsatisfiedLinkError:
/usr/lib/jvm/java-1.5.0-sun-1.5.0.15/jre/lib/i386/libawt.so:
libmlib_image.so: cannot open shared object file: No such file or directory
So i've been searching on the net and i found this topic to fix the error : 
http://ubuntuforums.org/showthread.php?t=829866
http://ubuntuforums.org/showthread.php?t=829866 

Now no more new errors in the xwiki.log but i still have a blank page...

I think maybe it's a problem of connection between xwiki and the database
because when there were no database, i already have this blank page.

Someone can help me please ...

Thank you in advance

-- 
View this message in context: 
http://n2.nabble.com/Xwiki-Enterprise-installation-problem-on-Ubuntu-Server-8.04-%2B-Tomcat-5.5-%2B-PostGreSQL-8.3-tp660701p660701.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Xwiki Enterprise installation problem on Ubuntu Server 8.04 + Tomcat 5.5 + PostGreSQL 8.3

2008-07-30 Thread Squirrel
Hi,

I'm the author of the tutorial. I fought for couple of weeks with Ubuntu
8.04 Server on my own, in the end I had to give up as the implementation in
Ubuntu is just lousy (IMHO). I never got it to work, so I switched back to
Debian Etch and it worked right from the beginning.

However, one thing that I haven't written in the howto (I'm going to correct
that) is the change in 'etc/apache2/mods-enabled/proxy.conf:

Proxy *
AddDefaultCharset off
Order deny,allow
Allow from all
#Allow from .example.com

# Define the character set for proxied FTP directory
listings
ProxyFtpDirCharset UTF-8
/Proxy

Maybe that helps?



On Wed, Jul 30, 2008 at 11:17 AM, lukweb [EMAIL PROTECTED] wrote:


 Hi all,

 I've got many problems to install Xwiki Enterprise on my Ubuntu Server
 8.04.

 I followed this official howto :
 http://www.howtoforge.com/xwiki-tomcat-mysql-debian-etch
 http://www.howtoforge.com/xwiki-tomcat-mysql-debian-etch

 Then i've got some errors during the postgres database creation so i
 created
 the database and the user xwiki through my webmin interface.

 I finished the howto and i've got a blank page...

 I've read the xwiki.log and i found an error : Caused by:
 java.lang.UnsatisfiedLinkError:
 /usr/lib/jvm/java-1.5.0-sun-1.5.0.15/jre/lib/i386/libawt.so:
 libmlib_image.so: cannot open shared object file: No such file or directory
 So i've been searching on the net and i found this topic to fix the error :
 http://ubuntuforums.org/showthread.php?t=829866
 http://ubuntuforums.org/showthread.php?t=829866

 Now no more new errors in the xwiki.log but i still have a blank page...

 I think maybe it's a problem of connection between xwiki and the database
 because when there were no database, i already have this blank page.

 Someone can help me please ...

 Thank you in advance

 --
 View this message in context:
 http://n2.nabble.com/Xwiki-Enterprise-installation-problem-on-Ubuntu-Server-8.04-%2B-Tomcat-5.5-%2B-PostGreSQL-8.3-tp660701p660701.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users