[xwiki-users] [XWiki Forum] [Help / Discuss] LDAP login issue
[[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.]] - I deleted the user, now I'm trying to login again. I noticed two things: 1) when I delete a user, using the users interface, it does not refresh and says no messages (I think it is a frontend issue but because of it I cannot know when a user is really deleted). 2) Now that I waited for a longer time to login (after deletion) I can login with that user so it correctly creates it. It seems to be a timing problem (synchronization), in production we cannot enstablish that time (and the number of retries that a user can do for the login). --- [Visit Topic](https://discourse.xwiki.org/t/ldap-login-issue/226/15) 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/0d98ba4c1746264d67c432cc2954420e1db4d1be136b9649f347ae05d9b823e7).
[xwiki-users] [XWiki Forum] [Help / Discuss] LDAP login issue
[[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:13, topic:226"] I think that the LDAP extension that creates the user in XWiki should not create a user if this one is already present. [/quote] And this is exactly what the authenticator is doing and to find existing user it use the object I described to you. --- [Visit Topic](https://discourse.xwiki.org/t/ldap-login-issue/226/14) 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/d340289e436606154f00f3697e7990e5d4393831da02f9a60786ffcddd26703b).
[xwiki-users] [XWiki Forum] [Help / Discuss] LDAP login issue
[[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.]] - I think that the LDAP extension that creates the user in XWiki **should not** create a user if this one is already present. If this one is created it means that we could intercept this code and avoid a creation of another user (this one can be a property if one will). Now I try to delete the user, I will update you then. --- [Visit Topic](https://discourse.xwiki.org/t/ldap-login-issue/226/13) 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/78333a4874c9def57d9f201b1b8fedc74d4feb0723bd15b6a4ded103362d8180).
[xwiki-users] [XWiki Forum] [Help / Discuss] LDAP login issue
[[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.]] - Did you try to delete the user ? You have data in that user profile you need to keep ? --- [Visit Topic](https://discourse.xwiki.org/t/ldap-login-issue/226/12) 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/e53f49b640a49624261822df04b3ae659ce57762e9b6541cbb71dac90381cb08).
[xwiki-users] [XWiki Forum] [Help / Discuss] LDAP login issue
[[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).
[xwiki-users] [XWiki Forum] [Help / Discuss] LDAP login issue
[[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).
[xwiki-users] [XWiki Forum] [Help / Discuss] LDAP login issue
[[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).
[xwiki-users] [XWiki Forum] [Help / Discuss] LDAP login issue
[[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).
[xwiki-users] [XWiki Forum] [Help / Discuss] LDAP login issue
[[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).
[xwiki-users] [XWiki Forum] [Help / Discuss] LDAP login issue
[[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).
[xwiki-users] [XWiki Forum] [Help / Discuss] LDAP login issue
[[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).