Greets,

I don’t get it.  
I moved my environment.permanentDirectory and got into a messed up state.
I started over:
I shut down tomcat
I said "mysql drop database xwiki" and recreated it and re-granted app privs on 
xwiki.*
I copy-n-pasted the LDAP settings from my previous installation, where LDAP 
auth was working
I started tomcat, wenth thru the distribution wizard, and then installe LDAP 
Authenticator
I stopped tomcat and restarted it
Now I can log in with my AD account, but instead of the main page, I see 
                                    ERROR
You are not allowed to view this page or perform this action.

I don't get it.  I pasted the LDAP setting from a previous install, where LDAP 
seemed to be working fine.
I tried another LDAP account and got the same results.
What could I have done wrong?
I think that this time the LDAP settings were there before the LDAP 
authenticator was installed, could that be it?

Could it be that I need to open the perms on the permanent data dir?  It is 
writable to the xwiki user, and that is who is executing tomcat.

I see this in the catalina log:
2017-04-26 12:29:26,103 
[http://dwswiki10.westmarine.net:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] 
ERROR o.x.c.l.XWikiLDAPConfig        - Error parsing LDAP fields mapping 
attribute from configuration

... but as I said I didn't get the "You are not allowed..." bit last time 
around.  And the LDAP settings were pasted from there.


Thanks



-----Original Message-----
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Vincent Massol
Sent: Tuesday, April 25, 2017 4:19 AM
To: XWiki Users
Subject: Re: [xwiki-users] Maximum size of an attachment in subwiki

Hi Sebastien,

> On 25 Apr 2017, at 13:02, Sebastian Luna Valero 
> <sebastian.luna.val...@gmail.com> wrote:
> 
> Hi All,
> 
> Thanks for releasing XWiki 8.4.5!
> 
> I am about to import content from the old to the new xwiki,

You should really consider using the recommended upgrade practice which is to 
use the Distribution Wizard, see 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade

If you really want to import content make sure you don’t include any default 
page at least. I’d still recommend using the DW.

Thanks
-Vincent

> but the .xar
> file is larger than the 32MB size limit. Previously I have followed 
> the instructions here:
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments
> 
> to increase the maximum size of the attachment. However, it seems to 
> work only for the main wiki but not for subwikis, is that true?
> 
> Best regards,
> Sebastian


The information contained in this transmission may contain West Marine 
proprietary, confidential and/or privileged 
information.  It is intended only for the use of the person(s) named above. If 
you are not the intended recipient, you are 
hereby notified that any review, dissemination, distribution or duplication of 
this communication is strictly prohibited. 
If you are not the intended recipient, please contact the sender by reply email 
and destroy all copies of the original 
message. To reply to our email administrator directly, please send an email to 
netad...@westmarine.com.

Reply via email to