[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.]] - 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.]] - 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.]] - 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.]] - 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.]] - 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).