Date: Fri, 11 Jul 2014 19:04:39 +0200
From: thomas.mortagne(a)xwiki.com
To: users(a)xwiki.org
Subject: Re: [xwiki-users] xWiki 6.1 LDAP Issues
On Fri, Jul 11, 2014 at 6:59 PM, Markus Adler <madler(a)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.mortagne(a)xwiki.com
>> To: users(a)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 <madler(a)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#Comme…
>> >
>> > 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(a)xwiki.org
>> >
http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>>
>> --
>> Thomas Mortagne
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>>
http://lists.xwiki.org/mailman/listinfo/users
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
>
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org