On Mon, Jul 14, 2014 at 7:18 PM, Markus Adler <mad...@outlook.com> wrote:
> Ah, sorry.
>
> It's the stand alone version running on a windows platform.
>
>
> Also, I think I got it.  The debug info shows up on the command prompt screen 
> which gave me some idea of what was failing.  It appears to not like binding 
> with the login account.

This works in many cases but it means the users need to right to
search in the server.

>
>
>
> I've resolved the issue by binding to LDAP with a dedicated service account 
> as I have with other systems and it appears to work now.
>
>
>
> Thanks for your help.
>
>
>> Date: Sat, 12 Jul 2014 10:51:39 +0200
>> From: thomas.morta...@xwiki.com
>> To: users@xwiki.org
>> Subject: Re: [xwiki-users] xWiki 6.1 LDAP Issues
>>
>> On Sat, Jul 12, 2014 at 10:50 AM, Thomas Mortagne
>> <thomas.morta...@xwiki.com> wrote:
>> > On Fri, Jul 11, 2014 at 9:10 PM, Markus Adler <mad...@outlook.com> wrote:
>> >> I have set the logging to "DEBUG" and just get the 2014_07_11.request.log 
>> >> file now.
>> >> Is there another file extension I should be looking for?
>> >
>> > I have no idea what application server you are using so I can't really
>> > tell you that, this is not an XWiki decision.
>> >
>> >>
>> >> I also noticed a start_xwiki_debug.bat script but when I try to run that 
>> >> I get "\Microsoft was unexpected at this time."
>> >>
>> >> I've attached the log file if it helps.
>>
>> As suggested by it's name this seems to just be the list of requests
>> you receive and nothing more.
>>
>> >>
>> >>
>> >>> Date: Fri, 11 Jul 2014 19:04:39 +0200
>> >>> From: thomas.morta...@xwiki.com
>> >>> To: users@xwiki.org
>> >>> Subject: Re: [xwiki-users] xWiki 6.1 LDAP Issues
>> >>>
>> >>> On Fri, Jul 11, 2014 at 6:59 PM, Markus Adler <mad...@outlook.com> wrote:
>> >>> > I uncommented the
>> >>> > xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
>> >>> > line and restarted xWiki with the stop_xwiki.bat and start_xwiki.bat 
>> >>> > scripts.
>> >>> >
>> >>> > Those were the only two log files I could find.
>> >>> > The request.log file appears unchanged when I tried to log in and the 
>> >>> > db.log just gives me:
>> >>> > SET SCHEMA "PUBLIC"
>> >>>
>> >>> If you enabled debug log it should be somwhere. When XWiki initialize
>> >>> it prints logs about SOLR server and other stuff, do you have any file
>> >>> with it ?
>> >>>
>> >>> >
>> >>> > Just to confirm, when this is configured correctly, a user should only 
>> >>> > have to try to login with their domain credentials and xWiki will 
>> >>> > automatically register the account?
>> >>>
>> >>> Yes.
>> >>>
>> >>> >
>> >>> >> Date: Fri, 11 Jul 2014 18:32:35 +0200
>> >>> >> From: thomas.morta...@xwiki.com
>> >>> >> To: users@xwiki.org
>> >>> >> Subject: Re: [xwiki-users] xWiki 6.1 LDAP Issues
>> >>> >>
>> >>> >> Did you properly set xwiki.authentication.authclass property in 
>> >>> >> xwiki.cfg file ?
>> >>> >>
>> >>> >> Are you sure you are looking at the right log file ? Do you have
>> >>> >> anything related to xwiki in those logs ?
>> >>> >>
>> >>> >> On Fri, Jul 11, 2014 at 6:11 PM, Markus Adler <mad...@outlook.com> 
>> >>> >> wrote:
>> >>> >> > Hello,
>> >>> >> >
>> >>> >> > I am having issues with configuring an LDAP connection to Active 
>> >>> >> > Directory.
>> >>> >> > I have installed the LDAP Admin Extension and followed the 
>> >>> >> > instructions as per:
>> >>> >> > http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application#Comments
>> >>> >> >
>> >>> >> > Settings are as follows:
>> >>> >> > Ldap: Yes
>> >>> >> > Ldap server address: 10.0.0.11
>> >>> >> > Ldap server port: 389
>> >>> >> > Ldap login matching: CN={0},CN=Users,DC=city,DC=com
>> >>> >> > Ldap password matching: {1}
>> >>> >> > Ldap base dn: DC=city,DC=com
>> >>> >> > Ldap UID attribute name: samaccountname
>> >>> >> > Try local login: yes
>> >>> >> > Update user from LDAP after login: no
>> >>> >> >
>> >>> >> > The rest are blank or default. I've tried modifying the xwiki.cfg 
>> >>> >> > file manually and still no luck.
>> >>> >> > I have tried monitoring the logs with the following set:
>> >>> >> > com.xpn.xwiki.plugin.ldap - Trace
>> >>> >> > com.xpn.xwiki.plugin.ldap.XWikiLDAPConfig - Trace
>> >>> >> > com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection - Trace
>> >>> >> > com.xpn.xwiki.user.impl.LDAP - Trace
>> >>> >> > com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl - Trace
>> >>> >> > As well as Error and Debug but can't find anything meaningful in 
>> >>> >> > the two log files I can locate:
>> >>> >> > xwiki_db.log
>> >>> >> > 2014_07_11.request.log
>> >>> >> >
>> >>> >> > Any suggestions?
>> >>> >> >
>> >>> >> > Markus
>> >>> >> > _______________________________________________
>> >>> >> > 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
>> >>> >
>> >>> > _______________________________________________
>> >>> > 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
>> >>
>> >>
>> >> _______________________________________________
>> >> users mailing list
>> >> users@xwiki.org
>> >> http://lists.xwiki.org/mailman/listinfo/users
>> >>
>> >
>> >
>> >
>> > --
>> > Thomas Mortagne
>>
>>
>>
>> --
>> Thomas Mortagne
>> _______________________________________________
>> 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



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

Reply via email to