Re: [xwiki-users] Display currently logged in users

2008-10-09 Thread Reto Hotz
Hi,

Thanks for the hints. I'll try them out.

Greetings
Reto


Sergiu Dumitriu wrote:
 If statistics are enabled, we can filter the requests in the last X minutes.
 
 Vincent Massol wrote:
 But it should be easy to add by modifying code. For example by  
 implementing a Servlet Session listener or intercepting XWiki's  
 authentication. Might even be possible somehow using groovy in a page  
 but haven't thought more about it.

 Thanks
 -Vincent

 On Oct 6, 2008, at 3:54 PM, Jean-Vincent Drean wrote:

 Hi,

 AFAIK there's no easy way to retrieve the list of users currently  
 logged in.
 You can list the users currently editing pages with (need  
 programming rights) :

 8 
 
 #foreach ($user in $xwiki.search(select distinct lock.userName from
 XWikiLock lock))
 * $user
 #end
 8 
 

 I've added it to :
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples

 JV.

 On Fri, Sep 26, 2008 at 8:47 AM, Reto Hotz [EMAIL PROTECTED] wrote:
 Hi,

 Is there a way to get a list of currently logged in users? (Or users
 that are editing a page)
 For example when I have to restart XWiki I could ask these users to
 logout. So that they don't loose any text, they may are editing at  
 this
 moment.

 Thanks.

 Greetings
 Reto
 
 

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


Re: [xwiki-users] Can't see Wiki Manger

2008-10-09 Thread Thomas Mortagne
Hi,

On Thu, Oct 9, 2008 at 1:03 AM, Samuel Lee [EMAIL PROTECTED] wrote:
 I created a new Wiki and installed the Wiki Manager Plugin (for
 mysql).  I can see the default wiki page, but when I go to 
 http://localhost:8080/xwiki/bin/view/WikiManager
  or /WikiManager/WebHome, there's a blank page.

Is it really a blank page or the page does not exists ?


 I have the xwiki-plugin-wiki-manager-1.4.jar, mysql-connector-
 java-5.1.6-bin.jar installed along with the application xar's.  I've
 configured hibernate.cfg.xml file to use mysql.  I've edited xwiki.cfg
 to use the wikimanager and applicationmanager plugins.  I've set
 xwiki.virtual=1.  I've given permissions to the mysql database.

 Any ideas on what I'm doing wrong?
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




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


Re: [xwiki-users] LDAP Auth problem in 1.6

2008-10-09 Thread Thomas Mortagne
On Thu, Oct 9, 2008 at 12:00 PM, hel-o [EMAIL PROTECTED] wrote:

 Hi,

 LDAP is enabled
 here is my configuration - this one works in the windows environment

You are right, if you had ldap=0 you would get LDAP authentication
failed: LDAP not activ in the debug log.

I don't see how there could be any difference between linux and
windows environment for LDAP authentication that makes LDAP fail on
linux...

I just comited a version that should give you a more detailed log, can
you download and try it ?


 #-
 # LDAP
 #-

 #-# 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=SERVER.DOMAIN
 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=DOMAIN\\{0}
 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=developers,ou=groups,o=MegaNova,c=US

 #-# [Since 1.5RC1, XWikiLDAPAuthServiceImpl]
 #-# only users not member of the following group can autheticate
 # xwiki.authentication.ldap.exclude_group=cn=admin,ou=groups,o=MegaNova,c=US

 #-# base DN for searches
 xwiki.authentication.ldap.base_DN=dc=DOMAIN

 #-# Specifies the LDAP attribute containing the identifier to be used as the
 XWiki name (default=cn)
 xwiki.authentication.ldap.UID_attr=sAMAccountName

 #-# [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,dynamicGroupAux,groupWiseDistributionList

 #-# [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=fullName,email=mail,ldap_dn=dn

 #-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
 #-# on every login update the mapped attributes from LDAP to XWiki otherwise
 this 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=AdminRole,ou=groups,o=MegaNova,c=US|\
 #
 XWiki.Organisation=cn=testers,ou=groups,o=MegaNova,c=US

 #-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
 #-# time in s after which the list of members in a group is refreshed from
 LDAP (default=3600*6)
 # xwiki.authentication.ldap.groupcache_expiration=21800

 #-# [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

 #-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
 #-# if ldap authentication fails for any reason, try XWiki DB authentication
 with the same credentials
 xwiki.authentication.ldap.trylocal=1

 #-# [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


 Thomas Mortagne wrote:

 On Thu, Oct 9, 2008 at 10:55 AM, hel-o [EMAIL PROTECTED] wrote:

 You should have a lot more log than just that, it seems ldap is
 disabled. Check the xwiki.authentication.ldap, it should be 1.

 Helmut



 --
 View this message in context: 
 

Re: [xwiki-users] LDAP Auth problem in 1.6

2008-10-09 Thread Thomas Mortagne
On Thu, Oct 9, 2008 at 10:55 AM, hel-o [EMAIL PROTECTED] wrote:

 Hi,

 tried it to, LDAP-Authentication worked on on instance (Windows Server 2003)

 Doesn't work on another (Linux) but i don't think its related to the LDAP
 problem we got here.

 The Logging information is:

 09:18:12,953 [] [http-80-2] DEBUG util.ModuleUtils- Get
 module name for path /bin
 09:18:12,953 [] [http-80-2] DEBUG util.ModuleUtils- Module
 name found: default
 09:18:12,953 [] [http-80-2] DEBUG action.RequestProcessor -
 Processing a 'POST' for path '/loginsubmit/'
 09:18:12,953 [] [http-80-2] DEBUG action.RequestProcessor -  Looking
 for Action instance for class com.xpn.xwiki.web.LoginSubmitAction
 09:18:13,083 [http://xwiki/bin/loginsubmit/XWiki/XWikiLogin] [http-80-2]
 DEBUG LDAP.XWikiLDAPAuthServiceImpl   - Local LDAP authentication failed.
 09:18:13,083 [http://xwiki/bin/loginsubmit/XWiki/XWikiLogin] [http-80-2]
 DEBUG LDAP.XWikiLDAPAuthServiceImpl   - Trying authentication against XWiki
 DB

You should have a lot more log than just that, it seems ldap is
disabled. Check the xwiki.authentication.ldap, it should be 1.


 Thanks Helmut
 --
 View this message in context: 
 http://n2.nabble.com/LDAP-Auth-problem-in-1.6-tp1303665p1311402.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




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


[xwiki-users] How to made chart from Excel sheet in attachment

2008-10-09 Thread Arnaud bourree
Hello,

I'd like to made chart from Excel sheet in attachment.
Could I reference ExeclPlugin.getTable() call as it is radeo table?
Could I used other value of source chart macro argument?

Regards,

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


Re: [xwiki-users] How to made chart from Excel sheet in attachment

2008-10-09 Thread Jerome Velociter
Hello Arnaud,

The documentation from the excel plugin is available here :

Arnaud bourree wrote:
 Hello,

 I'd like to made chart from Excel sheet in attachment.
 Could I reference ExeclPlugin.getTable() call as it is radeo table?
 Could I used other value of source chart macro argument?

 Regards,

 Arnaud.
 ___
 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


Re: [xwiki-users] How to made chart from Excel sheet in attachment

2008-10-09 Thread Jerome Velociter
Hello Arnaud,

The documentation of the Excel plugin is available here :
http://code.xwiki.org/xwiki/bin/view/Plugins/ExcelPlugin

It seems the answer to your question is given in the section 
Representing data on Charts, or do I get the question wrong ?

Regards,
Jerome.

Arnaud bourree wrote:
 Hello,

 I'd like to made chart from Excel sheet in attachment.
 Could I reference ExeclPlugin.getTable() call as it is radeo table?
 Could I used other value of source chart macro argument?

 Regards,

 Arnaud.
 ___
 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


Re: [xwiki-users] How to made chart from Excel sheet in attachment

2008-10-09 Thread Arnaud bourree
Thanks response is perfect

Arnaud

2008/10/9 Jerome Velociter [EMAIL PROTECTED]

 Hello Arnaud,

 The documentation of the Excel plugin is available here :
 http://code.xwiki.org/xwiki/bin/view/Plugins/ExcelPlugin

 It seems the answer to your question is given in the section
 Representing data on Charts, or do I get the question wrong ?

 Regards,
 Jerome.

 Arnaud bourree wrote:
  Hello,
 
  I'd like to made chart from Excel sheet in attachment.
  Could I reference ExeclPlugin.getTable() call as it is radeo table?
  Could I used other value of source chart macro argument?
 
  Regards,
 
  Arnaud.
  ___
  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

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


[xwiki-users] Attachment Limit error message issue

2008-10-09 Thread Art Yeung

Hi All,

I have managed to limit the attachment upload size to 1MB by setting
Maximum Upload Size:

However, when users upload large attachment, it gave an error like this.
XWiki has a default limit of around 10Mb for attached files. This limit can
be changed using the upload_maxsize parameter. Check the FAQ for more
information.

Which it still saying the default value of 10Mb, how would I set so i pickup
my custom setting, 1MB?

Thanks
Art.
-- 
View this message in context: 
http://n2.nabble.com/Attachment-Limit-error-message-issue-tp1312233p1312233.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] LDAP Auth problem in 1.6

2008-10-09 Thread hel-o

Ok,

i tried it again with Snapshot:

xwiki-core-1.6-20081009.103057-1014.jar

I also tried to connect to the ldap server via command line using the same
credentials and it worked.

In XWiki it still doesn't work but theres more logging information now:

com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind
failed with LDAPException.
Wrapped Exception: Invalid Credentials
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:178)
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:107)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:277)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:176)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:131)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:165)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:148)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:205)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3566)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:139)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3574)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4480)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
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.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
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.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:174)
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:844)
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(Thread.java:636)


Wrapped Exception:


LDAPException: Invalid Credentials (49) Invalid Credentials
LDAPException: Server Message: 80090308: LdapErr: DSID-0C090334, comment:
AcceptSecurityContext error, data 525, vece0)
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.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

Re: [xwiki-users] LDAP Auth problem in 1.6

2008-10-09 Thread hel-o

Hi,

tried it to, LDAP-Authentication worked on on instance (Windows Server 2003)

Doesn't work on another (Linux) but i don't think its related to the LDAP
problem we got here.

The Logging information is:

09:18:12,953 [] [http-80-2] DEBUG util.ModuleUtils- Get
module name for path /bin 
09:18:12,953 [] [http-80-2] DEBUG util.ModuleUtils- Module
name found: default 
09:18:12,953 [] [http-80-2] DEBUG action.RequestProcessor -
Processing a 'POST' for path '/loginsubmit/' 
09:18:12,953 [] [http-80-2] DEBUG action.RequestProcessor -  Looking
for Action instance for class com.xpn.xwiki.web.LoginSubmitAction 
09:18:13,083 [http://xwiki/bin/loginsubmit/XWiki/XWikiLogin] [http-80-2]
DEBUG LDAP.XWikiLDAPAuthServiceImpl   - Local LDAP authentication failed. 
09:18:13,083 [http://xwiki/bin/loginsubmit/XWiki/XWikiLogin] [http-80-2]
DEBUG LDAP.XWikiLDAPAuthServiceImpl   - Trying authentication against XWiki
DB 

Thanks Helmut
-- 
View this message in context: 
http://n2.nabble.com/LDAP-Auth-problem-in-1.6-tp1303665p1311402.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


[xwiki-users] 1 in Links becomes #49; when you edit in WYSIWYG

2008-10-09 Thread hel-o

Hi,

another problem.

When you have a link that starts with 1 one becomes #49; when you edit the
page in the old WYSIWYG-Editor (didn't try with the new one). It only
happens for the first 1

  1.1.1 test 

becomes

  #49;.1.1 test 

Somtimes the #49; is displayed correctly when you save the page somtimes
not.

Is this a known-bug?

Thanks
Helmut
-- 
View this message in context: 
http://n2.nabble.com/1-in-Links-becomes---49--when-you-edit-in-WYSIWYG-tp1311576p1311576.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] LDAP Auth problem in 1.6

2008-10-09 Thread hel-o

Hi, 

LDAP is enabled
here is my configuration - this one works in the windows environment

#-
# LDAP
#-

#-# 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=SERVER.DOMAIN
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=DOMAIN\\{0}
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=developers,ou=groups,o=MegaNova,c=US

#-# [Since 1.5RC1, XWikiLDAPAuthServiceImpl]
#-# only users not member of the following group can autheticate
# xwiki.authentication.ldap.exclude_group=cn=admin,ou=groups,o=MegaNova,c=US

#-# base DN for searches
xwiki.authentication.ldap.base_DN=dc=DOMAIN

#-# Specifies the LDAP attribute containing the identifier to be used as the
XWiki name (default=cn)
xwiki.authentication.ldap.UID_attr=sAMAccountName

#-# [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,dynamicGroupAux,groupWiseDistributionList

#-# [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=fullName,email=mail,ldap_dn=dn

#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# on every login update the mapped attributes from LDAP to XWiki otherwise
this 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=AdminRole,ou=groups,o=MegaNova,c=US|\
#
XWiki.Organisation=cn=testers,ou=groups,o=MegaNova,c=US

#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# time in s after which the list of members in a group is refreshed from
LDAP (default=3600*6)
# xwiki.authentication.ldap.groupcache_expiration=21800

#-# [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

#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# if ldap authentication fails for any reason, try XWiki DB authentication
with the same credentials
xwiki.authentication.ldap.trylocal=1

#-# [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


Thomas Mortagne wrote:
 
 On Thu, Oct 9, 2008 at 10:55 AM, hel-o [EMAIL PROTECTED] wrote:
 
 You should have a lot more log than just that, it seems ldap is
 disabled. Check the xwiki.authentication.ldap, it should be 1.
 
 Helmut
 
 

-- 
View this message in context: 
http://n2.nabble.com/LDAP-Auth-problem-in-1.6-tp1303665p1311565.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] users Digest, Vol 15, Issue 15

2008-10-09 Thread Dan Svoboda
Hi Guillaume,

My XWiki Workspaces has a 'Global admin' link at the top left.  
Clicking that takes me to the XWikiPreferences page, which has the new  
layout. From there, I click the 'General' link to get to the 'Basic  
Settings' page. After clicking the 'Edit Settings' link, I find that  
the 'Registration Settings' section of the form already has 'Deny' set  
under 'Public Registration. This is equivalent to what I described  
earlier. I was simply using the object editor on the XWikiPreferences  
page.

Does it work? Well, there was nothing to change since Public  
Registration was already set to 'Deny'. So, I still have the same  
problem.

Dan


 Message: 2
 Date: Wed, 8 Oct 2008 22:57:19 +0200
 From: Guillaume Lerouge [EMAIL PROTECTED]
 Subject: Re: [xwiki-users] preventing registration on workspaces under
   xem
 To: XWiki Users users@xwiki.org
 Message-ID:
   [EMAIL PROTECTED]
 Content-Type: text/plain; charset=ISO-8859-1

 In your XWiki Workspaces instance, click on the Adminisration link  
 located
 at the top left of the top menu bar.
 On the Settings page, click on the Edit settings located at the  
 top left.

 Then set allow public registration to false.

 Does this work ?

 Guillaume

 On Wed, Oct 8, 2008 at 7:48 PM, Daniel Svoboda
 [EMAIL PROTECTED]wrote:

 Hi,

 I'm using workspaces 1.2M1 as a virtual xwiki under xem 1.3. I have
 configured the XWikiServerClass object under XWikiServerServername to
 have the visibility property set to 'Private'. When I look at
 XWikiPreferences in the virtual xwiki, there are XWikiGlobalRights
 objects configured Deny, Groups:,Levels:Register,Users:XWikiGuest,  
 and
 Deny, Groups:XWikiAllGroup, Levels: edit, register, Users:

 The registration form still appears on the login page, and upon
 filling in the fields and submitting, registration is successful.

 I need to not allow registration by anyone except Admin.

 Thanks,

 Dan Svoboda
 ___
 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


Re: [xwiki-users] LDAP Auth problem in 1.6

2008-10-09 Thread Thomas Mortagne
On Thu, Oct 9, 2008 at 4:06 PM, hel-o [EMAIL PROTECTED] wrote:

 Ok,

 i tried it again with Snapshot:

 xwiki-core-1.6-20081009.103057-1014.jar

 I also tried to connect to the ldap server via command line using the same
 credentials and it worked.

Just added some more log, you should now get the exact credentials
used in XWikiLDAPConnection.open to bind to LDAP server.


 In XWiki it still doesn't work but theres more logging information now:

 com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind
 failed with LDAPException.
 Wrapped Exception: Invalid Credentials
at
 com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:178)
at
 com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:107)
at
 com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:277)
at
 com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:176)
at
 com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:131)
at
 com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
at
 com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:165)
at
 com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:148)
at
 com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:205)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3566)
at
 com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:139)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3574)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4480)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
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.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
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.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:174)
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:844)
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(Thread.java:636)


 Wrapped Exception:


 LDAPException: Invalid Credentials (49) Invalid Credentials
 LDAPException: Server Message: 80090308: LdapErr: DSID-0C090334, comment:
 AcceptSecurityContext error, data 525, vece0)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
 

Re: [xwiki-users] LDAP Auth problem in 1.6

2008-10-09 Thread hel-o

Ok,

i uploaded the whole xwiki.log file

Thanks Helmut
-- 
View this message in context: 
http://n2.nabble.com/LDAP-Auth-problem-in-1.6-tp1303665p1312582.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] users Digest, Vol 15, Issue 15

2008-10-09 Thread Guillaume Lerouge
Hi,

My XWiki Workspaces has a 'Global admin' link at the top left. Clicking that
takes me to the XWikiPreferences page, which has the new layout. From there,
I click the 'General' link to get to the 'Basic Settings' page. After
clicking the 'Edit Settings' link, I find that the 'Registration Settings'
section of the form already has 'Deny' set under 'Public Registration. This
is equivalent to what I described earlier. I was simply using the object
editor on the XWikiPreferences page.


 Does it work? Well, there was nothing to change since Public Registration
 was already set to 'Deny'. So, I still have the same problem.


Indeed, I had read your previous message too fast, sorry.

Could you please file a bug report on JIRA ?
http://jira.xwiki.org/jira/browse/XWS

Thanks,
Guillaume





 Message: 2
 Date: Wed, 8 Oct 2008 22:57:19 +0200
 From: Guillaume Lerouge [EMAIL PROTECTED]
 Subject: Re: [xwiki-users] preventing registration on workspaces under
xem
 To: XWiki Users users@xwiki.org
 Message-ID:
[EMAIL PROTECTED]
 Content-Type: text/plain; charset=ISO-8859-1

 In your XWiki Workspaces instance, click on the Adminisration link
 located
 at the top left of the top menu bar.
 On the Settings page, click on the Edit settings located at the top
 left.

 Then set allow public registration to false.

 Does this work ?

 Guillaume

 On Wed, Oct 8, 2008 at 7:48 PM, Daniel Svoboda
 [EMAIL PROTECTED]wrote:

  Hi,

 I'm using workspaces 1.2M1 as a virtual xwiki under xem 1.3. I have
 configured the XWikiServerClass object under XWikiServerServername to
 have the visibility property set to 'Private'. When I look at
 XWikiPreferences in the virtual xwiki, there are XWikiGlobalRights
 objects configured Deny, Groups:,Levels:Register,Users:XWikiGuest, and
 Deny, Groups:XWikiAllGroup, Levels: edit, register, Users:

 The registration form still appears on the login page, and upon
 filling in the fields and submitting, registration is successful.

 I need to not allow registration by anyone except Admin.

 Thanks,

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






-- 
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://blog.xwiki.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] 1 in Links becomes #49; when you edit in WYSIWYG

2008-10-09 Thread Guillaume Lerouge
Hi Helmut

When you have a link that starts with 1 one becomes #49; when you edit the
 page in the old WYSIWYG-Editor (didn't try with the new one). It only
 happens for the first 1

  1.1.1 test

 becomes

  #49;.1.1 test

 Somtimes the #49; is displayed correctly when you save the page somtimes
 not.


This is a known limitation of the old editor. Basically, some 1 are
transformed into 49; to avoid having them interpreted as headers in the
old editor. This issue will be fixed with the new rendering : since headers
will use a = based syntax, escaping 1 will no longer be needed.

Sorry for the inconvenience this causes at present.

Guillaume




 Is this a known-bug?

 Thanks
 Helmut
 --
 View this message in context:
 http://n2.nabble.com/1-in-Links-becomes---49--when-you-edit-in-WYSIWYG-tp1311576p1311576.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




-- 
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://blog.xwiki.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Attachment Limit error message issue

2008-10-09 Thread Guillaume Lerouge
This message is hardcoded (or rather hardwritten) somewhere in XWiki's
english language application resources. Therefore you'll need to edit them
on your server hard drive to reflect the new limit you've set. Please check
http://dev.xwiki.org/xwiki/bin/view/Community/Contributing#HProvidingtranslationforagivenlanguagefor
more info about application resources.

Guillaume

On Thu, Oct 9, 2008 at 3:56 PM, Art Yeung [EMAIL PROTECTED] wrote:


 Hi All,

 I have managed to limit the attachment upload size to 1MB by setting
 Maximum Upload Size:

 However, when users upload large attachment, it gave an error like this.
 XWiki has a default limit of around 10Mb for attached files. This limit can
 be changed using the upload_maxsize parameter. Check the FAQ for more
 information.

 Which it still saying the default value of 10Mb, how would I set so i
 pickup
 my custom setting, 1MB?

 Thanks
 Art.
 --
 View this message in context:
 http://n2.nabble.com/Attachment-Limit-error-message-issue-tp1312233p1312233.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




-- 
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://blog.xwiki.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Any download mirrors?

2008-10-09 Thread Vincent Massol
Try 
http://maven.xwiki.org/releases/com/xpn/xwiki/products/xwiki-enterprise-hsqldb/1.6/

Thanks
-Vincent

On Oct 9, 2008, at 9:52 PM, [EMAIL PROTECTED] wrote:


 I as starting to plan to upgrade our older XWiki Enterprise  
 installation to
 1.6, but every time I try to download from the only available mirror  
 (e.g.
 http://download.forge.objectweb.org/xwiki/xwiki-enterprise-hsqldb-1.6.zip) 
 ,
 I get terrible throughput!  It starts out ok, but then slows to a  
 crawl
 (estimated time remaning: 14 hours).  I have a very fast INternet
 connection and routinely get in the hundreds of KB per second.  The  
 site
 doesn't have any mirrors listed (why not???) and I can't find any in  
 the
 wild via a Google search.

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


[xwiki-users] Check for logged in users

2008-10-09 Thread Samuel Lee
Is there any way to check for logged in users if you have stats turned  
off.  We disabled stats to improve performance on our production  
xwiki.  I need to restart the tomcat and mysql services, but I can't  
tell if people are logged in.  Any ideas?

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


Re: [xwiki-users] Check for logged in users

2008-10-09 Thread Vincent Massol
Hi Sam,

I'm curious, why do you need to know if people are logged in?

Thanks
-Vincent

On Oct 9, 2008, at 11:07 PM, Samuel Lee wrote:

 Is there any way to check for logged in users if you have stats turned
 off.  We disabled stats to improve performance on our production
 xwiki.  I need to restart the tomcat and mysql services, but I can't
 tell if people are logged in.  Any ideas?

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


Re: [xwiki-users] Check for logged in users

2008-10-09 Thread Vincent Massol
What we do is put an apache front-end and we don't stop it when we  
restart xwiki. It works fine and we don't loose data AFAIK.

Thanks
-Vincent

On Oct 9, 2008, at 11:24 PM, Samuel Lee wrote:

 Well, I want to make sure our users aren't editing any pages or
 accessing important info while we restart those services.  Our XWiki
 is used quite frequently, we have several different xwiki's used in
 our farm and is accessed by people across the country.  We can send a
 note to users, but it'd be nice to be able to make sure people aren't
 using the XWiki while we restart.

 Sam


 On Oct 9, 2008, at 2:12 PM, Vincent Massol wrote:

 Hi Sam,

 I'm curious, why do you need to know if people are logged in?

 Thanks
 -Vincent

 On Oct 9, 2008, at 11:07 PM, Samuel Lee wrote:

 Is there any way to check for logged in users if you have stats
 turned
 off.  We disabled stats to improve performance on our production
 xwiki.  I need to restart the tomcat and mysql services, but I can't
 tell if people are logged in.  Any ideas?

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