On Wed, May 10, 2017 at 5:25 PM, Lester Marc Dizon (ITX) <lmdi...@itx-ge.com> wrote: > Thank you for your responses. I'm new to this community and happy to see you > guys are very responsive. > > @Thomas, I have followed your wiki pages. The moment I add > "xwiki.authentication.authclass=org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl" > in xwiki.cfg , I can't login anymore even with the local admin account. I > get a 401 http status code in > "/usr/local/tomcat/logs/localhost_access_log.2017-05-10.txt".
This is because by default the LDAP authenticator does not fallback on standard XWiki auth. See xwiki.authentication.ldap.trylocal property in the documentation. > Can you tell me where and which logfile I should check when I've added > <logger name="org.xwiki.contrib.ldap" level="trace"/> in > "WEB-INF/classes/logback.xml"? Whatever is the application server log file in the docker image. Vincent should know better. > > @Vincent, running with Docker seems to work very well except for my issues > with LDAP. Also, I can ping the LDAP Server inside the XWiki container. I > really need to check a logfile to know where it is failing but I don't know > where to find it. > > Thanks, > Lester > > -----Original Message----- > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Vincent Massol > Sent: mercredi 10 mai 2017 16:54 > To: XWiki Users <users@xwiki.org> > Subject: Re: [xwiki-users] XWiki Docker in Prod > > >> On 10 May 2017, at 16:27, Thomas Mortagne <thomas.morta...@xwiki.com> wrote: >> >> I don't know much about Docker but I can maybe help with the LDAP >> authenticator. >> >> After you installed the extension you will also need to modify the >> property xwiki.authentication.authclass in file xwiki.cfg in the >> application server as indicated on >> http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/Authenticator/#HGenericLDAPconfiguration. >> I have no idea if the Docker package let you modify this file > > Yes it does, but it could be simpler, see > https://jira.xwiki.org/browse/XDOCKER-20 > > Thanks > -Vincent > >> but if >> you managed to do that then a good thing to do usually to understand >> what's wrong with your LDAP setup is enabled debug log (see >> http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/Authenticator/#HEnableLDAPdebuglog). >> >> On Wed, May 10, 2017 at 4:13 PM, Lester Marc Dizon (ITX) >> <lmdi...@itx-ge.com> wrote: >>> Hi, >>> >>> We are currently testing XWiki. I have a test environment for XWiki running >>> in Docker. I would like to know if it's ok to run it as is in Prod >>> (intranet)? >>> >>> Also, I'm trying to connect it to LDAP with no success (tried with >>> http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/Authenticator/ >>> and http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/Application/ >>> ). Is it because I'm running it in Docker? Is there a log where I can check >>> what's wrong? >>> >>> Any help is appreciated. >>> >>> Thanks, >>> Lester >> >> >> >> -- >> Thomas Mortagne > -- Thomas Mortagne