# LDAP-login only works for newly added Nextcloud users

**URL:** <https://help.nextcloud.com/t/ldap-login-only-works-for-newly-added-nextcloud-users/189842>\
**Category:** ℹ️ Support\
**Tags:** server\_migration, nc27, ldap\
**Created:** [April 29, 2024, 10:20am UTC](https://help.nextcloud.com/t/ldap-login-only-works-for-newly-added-nextcloud-users/189842 "2024-04-29T10:20:02Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![NextClaus](https://help.nextcloud.com/user_avatar/help.nextcloud.com/nextclaus/32/40747_2.png) [@NextClaus](https://help.nextcloud.com/u/NextClaus)\
**Post date:** [June 3, 2024, 12:07pm UTC](https://help.nextcloud.com/t/ldap-login-only-works-for-newly-added-nextcloud-users/189842/5 "2024-06-03T12:07:46Z")

</div>

It was easier than expected:

> [@\[SOLVED 50%\] LDAP auth + MS AD - wrong password](https://help.nextcloud.com/t/solved-50-ldap-auth-ms-ad-wrong-password/28347/7):
>
> Wow… I already thought I’m stupid as I couldn’t find the reason why just a few users of a certain location were not able to log in. During the previous weeks I made my personal deep dive (at least for my knowledge) into Nextcloud CLI and database. However nothing helped - except this Google search result face_with_peeking_eye Adding the corresponding DC to “logon to” or removing all computers from “logon to” fixed the “issue”. Thank you. Just to improve Google search results even more, I add…

---

_[View the full topic](https://help.nextcloud.com/t/ldap-login-only-works-for-newly-added-nextcloud-users/189842)._
