[xwiki-users] [XWiki Forum] [Help / Discuss] LDAP login issue
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/6c9f654b2696c685725a...) (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/ec666aa06096063ac9fcc8e42635b8...).
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#HDisableLDA... 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/ca4c4392fd52018f8cb55a701a8bf2...).
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/98a426fb205f94b37920036137d1f5...).
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/d0f59953d0587f39d4c99c3908612c...).
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/9ee0f5b347375bdb7ee387d3916f54...).
[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/046b650139af0cbc503c10866415bb...).
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/d782f02355e78b0017a29d09f4eba3...).
participants (2)
-
Matteo -
Thomas Mortagne