> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/server/da/knowledge-base/troubleshooting-articles/invalid-username-or-password-error-when-signing-in-with-domain-credentials.md).

# Fejl med ugyldigt brugernavn eller ugyldig adgangskode ved logon med domænelegitimationsoplysninger

Retter en fejlagtig fejl om ugyldigt brugernavn eller ugyldig adgangskode ved logon på Devolutions Server med domænelegitimationsoplysninger ved at ændre strategien for LDAP-brugervalidering.

Når De forsøger at logge på Devolutions Server med legitimationsoplysninger af typen "domain", kan De få følgende fejlmeddelelse:

`Invalid username or password, please verify your credentials`

Dette kan være en fejl, hvor Devolutions Server fejlagtigt rapporterer, at legitimationsoplysningerne er ugyldige, selv om de ikke er det. Det skyldes ændringen i LDAP-stakken, og hvordan Devolutions Server interagerer med Active Directory.

#### Løsning

Når De har kontrolleret, at legitimationsoplysningerne virkelig er de rigtige for den pågældende Devolutions Server og den godkendelsesmetode, kan De afhjælpe situationen ved at ændre den strategi, som Devolutions Server bruger til at hente oplysningerne.

1. Gå til ***Administration – Serverindstillinger – Godkendelse – Domæner*** i Devolutions Server.
2. Klik på ***Rediger*** på domænet.
3. Klik på ***Avancerede indstillinger***.
4. Skift værdien af ***Brugervalidering*** fra ***Standard (LDAP)*** til enten ***Valider legitimationsoplysninger*** eller ***Opret brugerprincipal***.
5. Klik på ***OK*** og derefter på ***Opdater*** for at gemme ændringerne.

De bør nu kunne logge på. Hvis problemet fortsætter, kan De også ændre de andre værdier under ***Avancerede indstillinger*** til enten ***Principal*** eller ***Tokengruppe for mappepost***, afhængigt af hvad der er tilgængeligt. Hvis De stadig oplever problemer med at logge på, kan De kontakte kundesupportteamet på <service@devolutions.net>.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/server/da/knowledge-base/troubleshooting-articles/invalid-username-or-password-error-when-signing-in-with-domain-credentials.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
