[XWiki Forum] [Help / Discuss] LDAP login issue

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[XWiki Forum] [Help / Discuss] LDAP login issue

Thomas Mortagne-2
[[Note: The XWiki project is switching away from this mailing list and moving to a forum: https://discourse.xwiki.org. This list will be made readonly in a few days. Please post on the forum from now on. Thanks.]]

-----


Yes, I can edit them and find that object...I'm trying deleting those users and retrying to login, it still hangs...I think I understand where is the error (please check the second log file): those users are created because xwiki hangs on the first login and something goes wrong (and very slow) during the database saving, an user (or browser) makes a second call and Xwiki finds an already present user but not "complete" ,so tries to create another one.
How can we fix this situation (database)?
Thank you


[logSnippet2.txt](https://discourse.xwiki.org/uploads/default/original/1X/6c9f654b2696c685725a4a703905ebc9c9420417.txt) (35.3 KB)





---
[Visit Topic](https://discourse.xwiki.org/t/ldap-login-issue/226/5) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discourse.xwiki.org/email/unsubscribe/ec666aa06096063ac9fcc8e42635b8896326b8dd66ab8e4dc278e87ff42b2dc6).
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[XWiki Forum] [Help / Discuss] LDAP login issue

Thomas Mortagne-2
[[Note: The XWiki project is switching away from this mailing list and moving to a forum: https://discourse.xwiki.org. This list will be made readonly in a few days. Please post on the forum from now on. Thanks.]]

-----


If you have a lots or very big LDAP groups in your mapping configuration it might take a while to cache all of them. If that's your issue, http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HDisableLDAPsubgroupssearch might help.





---
[Visit Topic](https://discourse.xwiki.org/t/ldap-login-issue/226/6) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discourse.xwiki.org/email/unsubscribe/ca4c4392fd52018f8cb55a701a8bf2cd8aa497ddb955ac78d000e31e93e0ac02).
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[XWiki Forum] [Help / Discuss] LDAP login issue

Thomas Mortagne-2
[[Note: The XWiki project is switching away from this mailing list and moving to a forum: https://discourse.xwiki.org. This list will be made readonly in a few days. Please post on the forum from now on. Thanks.]]

-----


We don't use LDAP groups, so do you think that the database exception depends on LDAP slowness?





---
[Visit Topic](https://discourse.xwiki.org/t/ldap-login-issue/226/7) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discourse.xwiki.org/email/unsubscribe/98a426fb205f94b37920036137d1f512d784ba796370669dc332f29f7c699238).
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[XWiki Forum] [Help / Discuss] LDAP login issue

Thomas Mortagne-2
[[Note: The XWiki project is switching away from this mailing list and moving to a forum: https://discourse.xwiki.org. This list will be made readonly in a few days. Please post on the forum from now on. Thanks.]]

-----


No, the only officially slow thing I know during LDAP authentication is group sync (and it does not anything to do with the database).





---
[Visit Topic](https://discourse.xwiki.org/t/ldap-login-issue/226/8) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discourse.xwiki.org/email/unsubscribe/d0f59953d0587f39d4c99c3908612c11838513374fe603419434c34a30f3fec7).
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[XWiki Forum] [Help / Discuss] LDAP login issue

Thomas Mortagne-2
[[Note: The XWiki project is switching away from this mailing list and moving to a forum: https://discourse.xwiki.org. This list will be made readonly in a few days. Please post on the forum from now on. Thanks.]]

-----


Are you sure that this could not be caused by an error in database (first I deleted those users)?
Now for example I can login with that user but in log file I see the "\_1" user, so the ldap user is correct but has a wrong object linked (or something like that).





---
[Visit Topic](https://discourse.xwiki.org/t/ldap-login-issue/226/9) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discourse.xwiki.org/email/unsubscribe/9ee0f5b347375bdb7ee387d3916f54146058e7005456859d3eec9ad3f000c530).
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[XWiki Forum] [Help / Discuss] LDAP login issue

Thomas Mortagne-2
[[Note: The XWiki project is switching away from this mailing list and moving to a forum: https://discourse.xwiki.org. This list will be made readonly in a few days. Please post on the forum from now on. Thanks.]]

-----


[quote="matmassa, post:9, topic:226"]
Are you sure that this could not be caused by an error in database (first I deleted those users)?
[/quote]

I never said that. I have absolutely no idea what your database would be slow, just saying that it should not have anything to do with the LDAP authenticator.

[quote="matmassa, post:9, topic:226"]
Now for example I can login with that user but in log file I see the "_1" user, so the ldap user is correct but has a wrong object linked (or something like that).
[/quote]

Did you look at the object ?





---
[Visit Topic](https://discourse.xwiki.org/t/ldap-login-issue/226/10) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discourse.xwiki.org/email/unsubscribe/046b650139af0cbc503c10866415bb9e82504e9ee04aedb4fd715fdc11dadc14).
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[XWiki Forum] [Help / Discuss] LDAP login issue

Thomas Mortagne-2
[[Note: The XWiki project is switching away from this mailing list and moving to a forum: https://discourse.xwiki.org. This list will be made readonly in a few days. Please post on the forum from now on. Thanks.]]

-----


Yes, the situation is that the correct user has no LDAPProfileClass object, the user\_1 has the LDAPProfileClass (and this one has correct data).
I think this is a database error (is there any way to safely clean users in database? In order to avoid exceptions like logSnippet2)
thank you





---
[Visit Topic](https://discourse.xwiki.org/t/ldap-login-issue/226/11) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discourse.xwiki.org/email/unsubscribe/d782f02355e78b0017a29d09f4eba3f8615783af04c2ab9688720c79d41a4e81).
Loading...